pub struct PushNfgenmsg { /* private fields */ }Available on crate feature
conntrack only.Implementations§
Source§impl PushNfgenmsg
impl PushNfgenmsg
Sourcepub fn new_from_slice(other: &[u8]) -> Option<Self>
pub fn new_from_slice(other: &[u8]) -> Option<Self>
Copy from contents from other slice
Sourcepub fn new_from_zeroed(other: &[u8]) -> Self
pub fn new_from_zeroed(other: &[u8]) -> Self
Copy from contents from another slice, padding with zeros or truncating when needed
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub const fn len() -> usize
pub fn nfgen_family(&self) -> u8
pub fn set_nfgen_family(&mut self, value: u8)
pub fn version(&self) -> u8
pub fn set_version(&mut self, value: u8)
pub fn res_id(&self) -> u16
pub fn set_res_id(&mut self, value: u16)
Trait Implementations§
Source§impl Clone for PushNfgenmsg
impl Clone for PushNfgenmsg
Source§fn clone(&self) -> PushNfgenmsg
fn clone(&self) -> PushNfgenmsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PushNfgenmsg
impl Debug for PushNfgenmsg
Auto Trait Implementations§
impl Freeze for PushNfgenmsg
impl RefUnwindSafe for PushNfgenmsg
impl Send for PushNfgenmsg
impl Sync for PushNfgenmsg
impl Unpin for PushNfgenmsg
impl UnwindSafe for PushNfgenmsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more