packet::records::options

Trait KindLenField

Source
pub trait KindLenField:
    FromBytes
    + IntoBytes
    + KnownLayout
    + Immutable
    + Unaligned
    + Into<usize>
    + TryFrom<usize, Error = TryFromIntError>
    + Eq
    + Copy
    + Sealed { }
Expand description

The type of the “kind” and “length” fields in an option.

See the docs for OptionLayout::KindLenField for more information.

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 KindLenField for u8

Source§

impl<O: ByteOrder> KindLenField for U16<O>

Implementors§