Trait NlAttrType

Source
pub trait NlAttrType:
    PartialEq
    + Clone
    + From<u16>
    + Into<u16>
    + Copy
    + Size
    + TypeSize
    + for<'a> FromBytes<'a>
    + ToBytes
    + Debug { }
Expand description

Marker trait for types usable in the Nlattr field, nla_type

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 NlAttrType for u16

Implementors§