pub enum Format {
A,
B,
Stripped,
}Expand description
Frame format.
Variants§
A
Format A: a CRC after every block.
B
Format B: CRCs after block 2 and block 3 only.
Stripped
The receiver has already checked and removed the CRCs (what most wM-Bus sticks
deliver, and how captures are usually logged): L counts the bytes after itself.
Integrity then rests on the receiver.
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Forget for Format
impl Freeze for Format
impl Move for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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