Enum embassy_net_driver::Checksum
source · 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.
Trait Implementations§
impl Copy for Checksum
Auto Trait Implementations§
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