Skip to main content

UdpParseContext

Trait UdpParseContext 

Source
pub trait UdpParseContext {
    // Required method
    fn skip_checksum_verification(&mut self) -> bool;
}
Expand description

Context for parsing UDP packets that may be subject to hardware checksum offloading.

Required Methods§

Source

fn skip_checksum_verification(&mut self) -> bool

Returns true if the checksum verification should be skipped.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl UdpParseContext for NoOpParsingContext

Implementors§