pub trait KindLenField: FromBytes + AsBytes + NoCell + 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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl KindLenField for u8

source§

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

Implementors§