Struct std::net::Checksum
[−]
[src]
pub struct Checksum { pub data: u16, }
Fields
data |
pub struct Checksum { pub data: u16, }
data |
impl Checksum
unsafe fn check(&self, ptr: usize, len: usize) -> bool
unsafe fn calculate(&mut self, ptr: usize, len: usize)
unsafe fn sum(ptr: usize, len: usize) -> usize
unsafe fn compile(sum: usize) -> u16
impl Clone for Checksum
fn clone(&self) -> Checksum
fn clone_from(&mut self, source: &Self)
impl Copy for Checksum