pub enum Checksum {
Both,
Rx,
Tx,
None,
}
Expand description
A description of checksum behavior for a particular protocol.
Variants§
Both
Verify checksum when receiving and compute checksum when sending.
Rx
Verify checksum when receiving.
Tx
Compute checksum before sending.
None
Ignore checksum completely.
Implementations§
Trait Implementations§
impl Copy for Checksum
Auto Trait Implementations§
impl Freeze for Checksum
impl RefUnwindSafe for Checksum
impl Send for Checksum
impl Sync for Checksum
impl Unpin for Checksum
impl UnwindSafe for Checksum
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