Enum netlink_packet_generic::ctrl::GenlCtrlCmd
source · 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<GenlCtrlCmd> for GenlCtrlCmd
impl PartialEq<GenlCtrlCmd> for GenlCtrlCmd
source§fn eq(&self, other: &GenlCtrlCmd) -> bool
fn eq(&self, other: &GenlCtrlCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.