Skip to main content

SpinelFixedLen

Trait SpinelFixedLen 

Source
pub trait SpinelFixedLen {
    const FIXED_LEN: usize;
}
Expand description

Marker trait for types which always serialize to the same length.

Required Associated Constants§

Source

const FIXED_LEN: usize

The length of the type, in bytes.

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 SpinelFixedLen for bool

Source§

impl SpinelFixedLen for i8

Source§

impl SpinelFixedLen for i16

Source§

impl SpinelFixedLen for i32

Source§

impl SpinelFixedLen for i64

Source§

impl SpinelFixedLen for u8

Source§

impl SpinelFixedLen for u16

Source§

impl SpinelFixedLen for u32

Source§

impl SpinelFixedLen for u64

Source§

impl SpinelFixedLen for ()

Source§

impl SpinelFixedLen for Ipv6Addr

Implementors§