Struct Status
#[repr(transparent)]pub struct Status(pub u32);
Expand description
Status from last transaction
Tuple Fields§
§0: u32
Implementations§
§impl Status
impl Status
pub fn set_overread(&mut self, val: bool)
pub fn set_overread(&mut self, val: bool)
TX buffer over-read detected, and prevented
pub fn set_overflow(&mut self, val: bool)
pub fn set_overflow(&mut self, val: bool)
RX buffer overflow detected, and prevented
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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
)