Struct Errorsrc
#[repr(transparent)]pub struct Errorsrc(pub u32);
Expand description
Error source
Tuple Fields§
§0: u32
Implementations§
§impl Errorsrc
impl Errorsrc
pub fn set_overflow(&mut self, val: bool)
pub fn set_overflow(&mut self, val: bool)
RX buffer overflow detected, and prevented
pub fn set_overread(&mut self, val: bool)
pub fn set_overread(&mut self, val: bool)
TX buffer over-read detected, and prevented
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