pub enum GenlCtrlCmd {
NewFamily,
DelFamily,
GetFamily,
NewOps,
DelOps,
GetOps,
NewMcastGrp,
DelMcastGrp,
GetMcastGrp,
GetPolicy,
}
Expand description
Command code definition of Netlink controller (nlctrl) family
Variants§
NewFamily
Notify from event
DelFamily
Notify from event
GetFamily
Request to get family info
NewOps
Currently unused
DelOps
Currently unused
GetOps
Currently unused
NewMcastGrp
Notify from event
DelMcastGrp
Notify from event
GetMcastGrp
Currently unused
GetPolicy
Request to get family policy
Trait Implementations§
Source§impl Clone for GenlCtrlCmd
impl Clone for GenlCtrlCmd
Source§fn clone(&self) -> GenlCtrlCmd
fn clone(&self) -> GenlCtrlCmd
Returns a copy 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 GenlCtrlCmd
impl Debug for GenlCtrlCmd
Source§impl From<GenlCtrlCmd> for u8
impl From<GenlCtrlCmd> for u8
Source§fn from(cmd: GenlCtrlCmd) -> u8
fn from(cmd: GenlCtrlCmd) -> u8
Converts to this type from the input type.
Source§impl PartialEq for GenlCtrlCmd
impl PartialEq for GenlCtrlCmd
Source§impl TryFrom<u8> for GenlCtrlCmd
impl TryFrom<u8> for GenlCtrlCmd
impl Copy for GenlCtrlCmd
impl Eq for GenlCtrlCmd
impl StructuralPartialEq for GenlCtrlCmd
Auto Trait Implementations§
impl Freeze for GenlCtrlCmd
impl RefUnwindSafe for GenlCtrlCmd
impl Send for GenlCtrlCmd
impl Sync for GenlCtrlCmd
impl Unpin for GenlCtrlCmd
impl UnwindSafe for GenlCtrlCmd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)