pub struct SerialErrors {
pub frame: bool,
pub noise: bool,
pub rx_overrun: bool,
pub format: bool,
pub crc: bool,
}Expand description
Serial errors
Fields§
§frame: boolFrame
noise: boolNoise
rx_overrun: boolRX overrun
format: boolFormat
crc: boolCRC
Trait Implementations§
Source§impl Clone for SerialErrors
impl Clone for SerialErrors
Source§fn clone(&self) -> SerialErrors
fn clone(&self) -> SerialErrors
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SerialErrors
impl Debug for SerialErrors
Source§impl From<u16> for SerialErrors
impl From<u16> for SerialErrors
Source§impl Hash for SerialErrors
impl Hash for SerialErrors
Source§impl Ord for SerialErrors
impl Ord for SerialErrors
Source§fn cmp(&self, other: &SerialErrors) -> Ordering
fn cmp(&self, other: &SerialErrors) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SerialErrors
impl PartialEq for SerialErrors
Source§impl PartialOrd for SerialErrors
impl PartialOrd for SerialErrors
impl Copy for SerialErrors
impl Eq for SerialErrors
impl StructuralPartialEq for SerialErrors
Auto Trait Implementations§
impl Freeze for SerialErrors
impl RefUnwindSafe for SerialErrors
impl Send for SerialErrors
impl Sync for SerialErrors
impl Unpin for SerialErrors
impl UnsafeUnpin for SerialErrors
impl UnwindSafe for SerialErrors
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