pub enum RxChecksumState {
Unknown,
Good,
Bad,
ValidatedButWrong,
}
Expand description
The receive checksum state for a packet.
Variants§
Unknown
The checksum was not evaluated.
Good
The checksum value is correct.
Bad
The checksum value is incorrect.
ValidatedButWrong
The checksum has been validated, but the value in the header is wrong.
This occurs when LRO/RSC offload has been performed–multiple packet payloads are glommed together without updating the checksum in the first packet’s header.
Implementations§
Trait Implementations§
Source§impl Clone for RxChecksumState
impl Clone for RxChecksumState
Source§fn clone(&self) -> RxChecksumState
fn clone(&self) -> RxChecksumState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RxChecksumState
impl Debug for RxChecksumState
Source§impl PartialEq for RxChecksumState
impl PartialEq for RxChecksumState
impl Copy for RxChecksumState
impl Eq for RxChecksumState
impl StructuralPartialEq for RxChecksumState
Auto Trait Implementations§
impl Freeze for RxChecksumState
impl RefUnwindSafe for RxChecksumState
impl Send for RxChecksumState
impl Sync for RxChecksumState
impl Unpin for RxChecksumState
impl UnwindSafe for RxChecksumState
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