pub struct Registration { /* private fields */ }Expand description
A registration of a generic netlink family.
This type represents the registration of a Family. When an instance of this type is
dropped, its respective generic netlink family will be unregistered from the system.
§Invariants
self.family always holds a valid reference to an initialized and registered Family.
Trait Implementations§
Source§impl Drop for Registration
impl Drop for Registration
Auto Trait Implementations§
impl !RefUnwindSafe for Registration
impl !UnwindSafe for Registration
impl Freeze for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnsafeUnpin for Registration
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> KnownSize for T
impl<T> KnownSize for T
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more