CheckHeader

Trait CheckHeader 

Source
pub trait CheckHeader {
    // Required method
    fn has_valid_header(data: &[u8]) -> bool;
}

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<const CMD: u8, P: Decode> CheckHeader for CdcReplyPacket<CMD, P>

Source§

impl<const CMD: u8, const ECMD: u8, P: Decode> CheckHeader for Cdc2ReplyPacket<CMD, ECMD, P>

Implementors§