Struct netlink_packet_netfilter::nla::DefaultNla
source · [−]pub struct DefaultNla { /* private fields */ }
Trait Implementations
sourceimpl Clone for DefaultNla
impl Clone for DefaultNla
sourcepub fn clone(&self) -> DefaultNla
pub fn clone(&self) -> DefaultNla
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DefaultNla
impl Debug for DefaultNla
sourceimpl From<DefaultNla> for ConfigNla
impl From<DefaultNla> for ConfigNla
sourcefn from(original: DefaultNla) -> ConfigNla
fn from(original: DefaultNla) -> ConfigNla
Performs the conversion.
sourceimpl From<DefaultNla> for PacketNla
impl From<DefaultNla> for PacketNla
sourcefn from(original: DefaultNla) -> PacketNla
fn from(original: DefaultNla) -> PacketNla
Performs the conversion.
sourceimpl Nla for DefaultNla
impl Nla for DefaultNla
sourceimpl<'buffer, T> Parseable<NlaBuffer<&'buffer T>> for DefaultNla where
T: AsRef<[u8]> + ?Sized,
impl<'buffer, T> Parseable<NlaBuffer<&'buffer T>> for DefaultNla where
T: AsRef<[u8]> + ?Sized,
sourcepub fn parse(buf: &NlaBuffer<&'buffer T>) -> Result<DefaultNla, DecodeError>
pub fn parse(buf: &NlaBuffer<&'buffer T>) -> Result<DefaultNla, DecodeError>
Deserialize the current type.
sourceimpl PartialEq<DefaultNla> for DefaultNla
impl PartialEq<DefaultNla> for DefaultNla
sourcepub fn eq(&self, other: &DefaultNla) -> bool
pub fn eq(&self, other: &DefaultNla) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcepub fn ne(&self, other: &DefaultNla) -> bool
pub fn ne(&self, other: &DefaultNla) -> bool
This method tests for !=
.
impl Eq for DefaultNla
impl StructuralEq for DefaultNla
impl StructuralPartialEq for DefaultNla
Auto Trait Implementations
impl RefUnwindSafe for DefaultNla
impl Send for DefaultNla
impl Sync for DefaultNla
impl Unpin for DefaultNla
impl UnwindSafe for DefaultNla
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more