[−][src]Enum neli::consts::nl::NlTypeWrapper
Wrapper that is usable with all values in
Nlmsghdr
field,
nl_type
.
Variants
Nlmsg(Nlmsg)
GenlId(GenlId)
Rtm(Rtm)
NetfilterMsg(NetfilterMsg)
UnrecognizedConst(u16)
Constant could not be parsed into a type
Trait Implementations
impl Clone for NlTypeWrapper
[src]
pub fn clone(&self) -> NlTypeWrapper
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NlTypeWrapper
[src]
impl Debug for NlTypeWrapper
[src]
impl From<GenlId> for NlTypeWrapper
[src]
impl From<NetfilterMsg> for NlTypeWrapper
[src]
pub fn from(e: NetfilterMsg) -> Self
[src]
impl From<Nlmsg> for NlTypeWrapper
[src]
impl From<Rtm> for NlTypeWrapper
[src]
impl From<u16> for NlTypeWrapper
[src]
impl Into<u16> for NlTypeWrapper
[src]
impl Nl for NlTypeWrapper
[src]
pub fn serialize(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
pub fn deserialize(mem: DeBuffer<'_>) -> Result<Self, DeError>
[src]
pub fn size(&self) -> usize
[src]
pub fn type_size() -> Option<usize>
[src]
pub fn type_asize() -> Option<usize>
[src]
pub fn asize(&self) -> usize
[src]
pub fn pad(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
impl NlType for NlTypeWrapper
[src]
impl PartialEq<NlTypeWrapper> for NlTypeWrapper
[src]
pub fn eq(&self, other: &NlTypeWrapper) -> bool
[src]
pub fn ne(&self, other: &NlTypeWrapper) -> bool
[src]
impl StructuralPartialEq for NlTypeWrapper
[src]
Auto Trait Implementations
impl RefUnwindSafe for NlTypeWrapper
[src]
impl Send for NlTypeWrapper
[src]
impl Sync for NlTypeWrapper
[src]
impl Unpin for NlTypeWrapper
[src]
impl UnwindSafe for NlTypeWrapper
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,