Trait RtaType

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

Marker trait for Rtattr field, rta_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 RtaType for c_ushort

Implementors§