#[repr(transparent)]pub struct Rx(pub u32);
Expand description
Result of last incoming frame
Tuple Fields§
§0: u32
Implementations§
Source§impl Rx
impl Rx
Sourcepub fn set_crcerror(&mut self, val: bool)
pub fn set_crcerror(&mut self, val: bool)
No valid end of frame (EoF) detected
Sourcepub const fn paritystatus(&self) -> bool
pub const fn paritystatus(&self) -> bool
Parity status of received frame
Sourcepub fn set_paritystatus(&mut self, val: bool)
pub fn set_paritystatus(&mut self, val: bool)
Parity status of received frame
Sourcepub fn set_overrun(&mut self, val: bool)
pub fn set_overrun(&mut self, val: bool)
Overrun detected
Trait Implementations§
impl Copy for Rx
impl Eq for Rx
impl StructuralPartialEq for Rx
Auto Trait Implementations§
impl Freeze for Rx
impl RefUnwindSafe for Rx
impl Send for Rx
impl Sync for Rx
impl Unpin for Rx
impl UnwindSafe for Rx
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
)