#[repr(transparent)]pub struct Errorsrc(pub u32);Expand description
Error source.
Tuple Fields§
§0: u32Implementations§
Source§impl Errorsrc
impl Errorsrc
Sourcepub const fn set_overrun(&mut self, val: bool)
pub const fn set_overrun(&mut self, val: bool)
Overrun error.
Sourcepub const fn anack(&self) -> bool
pub const fn anack(&self) -> bool
NACK received after sending the address (write ‘1’ to clear).
Sourcepub const fn set_anack(&mut self, val: bool)
pub const fn set_anack(&mut self, val: bool)
NACK received after sending the address (write ‘1’ to clear).
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