[−][src]Enum neli::consts::nlattr::CtrlAttr
Values for nla_type
in Nlattr
Variants
UnrecognizedVariant(u16)
Variant that signifies an invalid value while deserializing
Trait Implementations
impl Nl for CtrlAttr
[src]
fn serialize(&self, mem: &mut StreamWriteBuffer) -> Result<(), SerError>
[src]
fn deserialize<T>(mem: &mut StreamReadBuffer<T>) -> Result<Self, DeError> where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
fn size(&self) -> usize
[src]
fn asize(&self) -> usize
[src]
fn pad(&self, m: &mut StreamWriteBuffer) -> Result<(), SerError>
[src]
fn strip<T>(&self, m: &mut StreamReadBuffer<T>) -> Result<(), DeError> where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl NlAttrType for CtrlAttr
[src]
impl From<u16> for CtrlAttr
[src]
impl From<CtrlAttr> for u16
[src]
impl<'a> From<&'a CtrlAttr> for u16
[src]
impl Clone for CtrlAttr
[src]
impl Eq for CtrlAttr
[src]
impl PartialEq<CtrlAttr> for CtrlAttr
[src]
impl Debug for CtrlAttr
[src]
Auto Trait Implementations
impl Send for CtrlAttr
impl Sync for CtrlAttr
impl Unpin for CtrlAttr
impl RefUnwindSafe for CtrlAttr
impl UnwindSafe for CtrlAttr
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,