pub enum NfLogMessage {
Config(Vec<ConfigNla>),
Packet(Vec<PacketNla>),
Other {
message_type: u8,
nlas: Vec<DefaultNla>,
},
}
Variants
Config(Vec<ConfigNla>)
Packet(Vec<PacketNla>)
Other
Implementations
sourceimpl NfLogMessage
impl NfLogMessage
Trait Implementations
sourceimpl Clone for NfLogMessage
impl Clone for NfLogMessage
sourcefn clone(&self) -> NfLogMessage
fn clone(&self) -> NfLogMessage
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 NfLogMessage
impl Debug for NfLogMessage
sourceimpl Emitable for NfLogMessage
impl Emitable for NfLogMessage
sourceimpl From<NfLogMessage> for NetfilterMessageInner
impl From<NfLogMessage> for NetfilterMessageInner
sourcefn from(message: NfLogMessage) -> Self
fn from(message: NfLogMessage) -> Self
Performs the conversion.
sourceimpl PartialEq<NfLogMessage> for NfLogMessage
impl PartialEq<NfLogMessage> for NfLogMessage
sourcefn eq(&self, other: &NfLogMessage) -> bool
fn eq(&self, other: &NfLogMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NfLogMessage) -> bool
fn ne(&self, other: &NfLogMessage) -> bool
This method tests for !=
.
impl Eq for NfLogMessage
impl StructuralEq for NfLogMessage
impl StructuralPartialEq for NfLogMessage
Auto Trait Implementations
impl RefUnwindSafe for NfLogMessage
impl Send for NfLogMessage
impl Sync for NfLogMessage
impl Unpin for NfLogMessage
impl UnwindSafe for NfLogMessage
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