pub struct Quality {
pub crc_error: bool,
pub sync_error: bool,
pub header_error: bool,
pub timing_set: bool,
}Expand description
What the receiver made of a packet it heard.
Fields§
§crc_error: boolWhether the payload failed its own check.
sync_error: boolWhether the preamble did not line up.
header_error: boolWhether the header did not check out.
timing_set: boolWhether the timestamp is one the chip stands behind.
Implementations§
Trait Implementations§
impl Copy for Quality
impl Eq for Quality
impl StructuralPartialEq for Quality
Auto Trait Implementations§
impl Freeze for Quality
impl RefUnwindSafe for Quality
impl Send for Quality
impl Sync for Quality
impl Unpin for Quality
impl UnsafeUnpin for Quality
impl UnwindSafe for Quality
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