Skip to main content

CrcDevice

Trait CrcDevice 

Source
pub trait CrcDevice {
    // Required method
    async fn crc(&mut self, data: &[u8]) -> u32;
}
Expand description

CRC over the bytes that precede the 4-byte little-endian CRC trailer on the wire.

Required Methods§

Source

async fn crc(&mut self, data: &[u8]) -> u32

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§