pub struct Implicit {
pub payload_length: u8,
pub coding_rate: u8,
pub crc: bool,
}Expand description
What a receiver is told when the packets it hears carry no header of their own.
A header carries the length, the coding rate, and whether a checksum follows. Without one the receiver has to be told all three up front, and it hears nothing from a sender that disagrees with any of them.
Fields§
§payload_length: u8How long every packet is.
coding_rate: u8The coding rate, as the denominator less four, so 4/5 is 1 and 4/8 is 4.
crc: boolWhether a checksum follows the payload.
Trait Implementations§
impl Copy for Implicit
impl Eq for Implicit
impl StructuralPartialEq for Implicit
Auto Trait Implementations§
impl Freeze for Implicit
impl RefUnwindSafe for Implicit
impl Send for Implicit
impl Sync for Implicit
impl Unpin for Implicit
impl UnsafeUnpin for Implicit
impl UnwindSafe for Implicit
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