#[repr(transparent)]pub struct Errorsrc(pub u32);
Expand description
Error source
Tuple Fields§
§0: u32
Implementations§
Source§impl Errorsrc
impl Errorsrc
Sourcepub fn set_overrun(&mut self, val: bool)
pub fn set_overrun(&mut self, val: bool)
Overrun error
Sourcepub fn set_parity(&mut self, val: bool)
pub fn set_parity(&mut self, val: bool)
Parity error
Sourcepub fn set_framing(&mut self, val: bool)
pub fn set_framing(&mut self, val: bool)
Framing error occurred
Sourcepub fn set_break_(&mut self, val: bool)
pub fn set_break_(&mut self, val: bool)
Break condition
Trait Implementations§
impl Copy for Errorsrc
impl Eq for Errorsrc
impl StructuralPartialEq for Errorsrc
Auto Trait Implementations§
impl Freeze for Errorsrc
impl RefUnwindSafe for Errorsrc
impl Send for Errorsrc
impl Sync for Errorsrc
impl Unpin for Errorsrc
impl UnwindSafe for Errorsrc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)