#[repr(C)]pub struct nfnl_callback {
pub call: Option<unsafe extern "C" fn(nlh: *mut nlmsghdr, nfa: *mut *mut nfattr, data: *mut c_void) -> c_int>,
pub data: *mut c_void,
pub attr_count: u16,
}Fields§
§call: Option<unsafe extern "C" fn(nlh: *mut nlmsghdr, nfa: *mut *mut nfattr, data: *mut c_void) -> c_int>§data: *mut c_void§attr_count: u16Trait Implementations§
Source§impl Clone for nfnl_callback
impl Clone for nfnl_callback
Source§fn clone(&self) -> nfnl_callback
fn clone(&self) -> nfnl_callback
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 nfnl_callback
impl Debug for nfnl_callback
impl Copy for nfnl_callback
Auto Trait Implementations§
impl Freeze for nfnl_callback
impl RefUnwindSafe for nfnl_callback
impl !Send for nfnl_callback
impl !Sync for nfnl_callback
impl Unpin for nfnl_callback
impl UnwindSafe for nfnl_callback
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