Skip to main content

Commands

Enum Commands 

Source
pub enum Commands {
Show 156 variants Unspec = 0, GetWiphy = 1, SetWiphy = 2, NewWiphy = 3, DelWiphy = 4, GetInterface = 5, SetInterface = 6, NewInterface = 7, DelInterface = 8, GetKey = 9, SetKey = 10, NewKey = 11, DelKey = 12, GetBeacon = 13, SetBeacon = 14, NewBeacon = 15, DelBeacon = 16, GetStation = 17, SetStation = 18, NewStation = 19, DelStation = 20, GetMpath = 21, SetMpath = 22, NewMpath = 23, DelMpath = 24, SetBss = 25, SetReg = 26, ReqSetReg = 27, GetMeshConfig = 28, SetMeshConfig = 29, SetMgmtExtraIe = 30, GetReg = 31, GetScan = 32, TriggerScan = 33, NewScanResults = 34, ScanAborted = 35, RegChange = 36, Authenticate = 37, Associate = 38, Deauthenticate = 39, Disassociate = 40, MichaelMicFailure = 41, RegBeaconHint = 42, JoinIbss = 43, LeaveIbss = 44, Testmode = 45, Connect = 46, Roam = 47, Disconnect = 48, SetWiphyNetns = 49, GetSurvey = 50, NewSurveyResults = 51, SetPmksa = 52, DelPmksa = 53, FlushPmksa = 54, RemainOnChannel = 55, CancelRemainOnChannel = 56, SetTxBitrateMask = 57, RegisterAction = 58, Action = 59, ActionTxStatus = 60, SetPowerSave = 61, GetPowerSave = 62, SetCqm = 63, NotifyCqm = 64, SetChannel = 65, SetWdsPeer = 66, FrameWaitCancel = 67, JoinMesh = 68, LeaveMesh = 69, UnprotDeauthenticate = 70, UnprotDisassociate = 71, NewPeerCandidate = 72, GetWowlan = 73, SetWowlan = 74, StartSchedScan = 75, StopSchedScan = 76, SchedScanResults = 77, SchedScanStopped = 78, SetRekeyOffload = 79, PmksaCandidate = 80, TdlsOper = 81, TdlsMgmt = 82, UnexpectedFrame = 83, ProbeClient = 84, RegisterBeacons = 85, Unexpected4AddrFrame = 86, SetNoackMap = 87, ChSwitchNotify = 88, StartP2pDevice = 89, StopP2pDevice = 90, ConnFailed = 91, SetMcastRate = 92, SetMacAcl = 93, RadarDetect = 94, GetProtocolFeatures = 95, UpdateFtIes = 96, FtEvent = 97, CritProtocolStart = 98, CritProtocolStop = 99, GetCoalesce = 100, SetCoalesce = 101, ChannelSwitch = 102, Vendor = 103, SetQosMap = 104, AddTxTs = 105, DelTxTs = 106, GetMpp = 107, JoinOcb = 108, LeaveOcb = 109, ChSwitchStartedNotify = 110, TdlsChannelSwitch = 111, TdlsCancelChannelSwitch = 112, WiphyRegChange = 113, AbortScan = 114, StartNan = 115, StopNan = 116, AddNanFunction = 117, DelNanFunction = 118, ChangeNanConfig = 119, NanMatch = 120, SetMulticastToUnicast = 121, UpdateConnectParams = 122, SetPmk = 123, DelPmk = 124, PortAuthorized = 125, ReloadRegdb = 126, ExternalAuth = 127, StaOpmodeChanged = 128, ControlPortFrame = 129, GetFtmResponderStats = 130, PeerMeasurementStart = 131, PeerMeasurementResult = 132, PeerMeasurementComplete = 133, NotifyRadar = 134, UpdateOweInfo = 135, ProbeMeshLink = 136, SetTidConfig = 137, UnprotBeacon = 138, ControlPortFrameTxStatus = 139, SetSarSpecs = 140, ObssColorCollision = 141, ColorChangeRequest = 142, ColorChangeStarted = 143, ColorChangeAborted = 144, ColorChangeCompleted = 145, SetFilsAad = 146, AssocComeback = 147, AddLink = 148, RemoveLink = 149, AddLinkSta = 150, ModifyLinkSta = 151, RemoveLinkSta = 152, SetHwTimestamp = 153, LinksRemoved = 154, SetTidToLinkMapping = 155,
}
Available on crate feature nl80211 only.
Expand description

Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)

Variants§

§

Unspec = 0

§

GetWiphy = 1

§

SetWiphy = 2

§

NewWiphy = 3

§

DelWiphy = 4

§

GetInterface = 5

§

SetInterface = 6

§

NewInterface = 7

§

DelInterface = 8

§

GetKey = 9

§

SetKey = 10

§

NewKey = 11

§

DelKey = 12

§

GetBeacon = 13

§

SetBeacon = 14

§

NewBeacon = 15

§

DelBeacon = 16

§

GetStation = 17

§

SetStation = 18

§

NewStation = 19

§

DelStation = 20

§

GetMpath = 21

§

SetMpath = 22

§

NewMpath = 23

§

DelMpath = 24

§

SetBss = 25

§

SetReg = 26

§

ReqSetReg = 27

§

GetMeshConfig = 28

§

SetMeshConfig = 29

§

SetMgmtExtraIe = 30

§

GetReg = 31

§

GetScan = 32

§

TriggerScan = 33

§

NewScanResults = 34

§

ScanAborted = 35

§

RegChange = 36

§

Authenticate = 37

§

Associate = 38

§

Deauthenticate = 39

§

Disassociate = 40

§

MichaelMicFailure = 41

§

RegBeaconHint = 42

§

JoinIbss = 43

§

LeaveIbss = 44

§

Testmode = 45

§

Connect = 46

§

Roam = 47

§

Disconnect = 48

§

SetWiphyNetns = 49

§

GetSurvey = 50

§

NewSurveyResults = 51

§

SetPmksa = 52

§

DelPmksa = 53

§

FlushPmksa = 54

§

RemainOnChannel = 55

§

CancelRemainOnChannel = 56

§

SetTxBitrateMask = 57

§

RegisterAction = 58

§

Action = 59

§

ActionTxStatus = 60

§

SetPowerSave = 61

§

GetPowerSave = 62

§

SetCqm = 63

§

NotifyCqm = 64

§

SetChannel = 65

§

SetWdsPeer = 66

§

FrameWaitCancel = 67

§

JoinMesh = 68

§

LeaveMesh = 69

§

UnprotDeauthenticate = 70

§

UnprotDisassociate = 71

§

NewPeerCandidate = 72

§

GetWowlan = 73

§

SetWowlan = 74

§

StartSchedScan = 75

§

StopSchedScan = 76

§

SchedScanResults = 77

§

SchedScanStopped = 78

§

SetRekeyOffload = 79

§

PmksaCandidate = 80

§

TdlsOper = 81

§

TdlsMgmt = 82

§

UnexpectedFrame = 83

§

ProbeClient = 84

§

RegisterBeacons = 85

§

Unexpected4AddrFrame = 86

§

SetNoackMap = 87

§

ChSwitchNotify = 88

§

StartP2pDevice = 89

§

StopP2pDevice = 90

§

ConnFailed = 91

§

SetMcastRate = 92

§

SetMacAcl = 93

§

RadarDetect = 94

§

GetProtocolFeatures = 95

§

UpdateFtIes = 96

§

FtEvent = 97

§

CritProtocolStart = 98

§

CritProtocolStop = 99

§

GetCoalesce = 100

§

SetCoalesce = 101

§

ChannelSwitch = 102

§

Vendor = 103

§

SetQosMap = 104

§

AddTxTs = 105

§

DelTxTs = 106

§

GetMpp = 107

§

JoinOcb = 108

§

LeaveOcb = 109

§

ChSwitchStartedNotify = 110

§

TdlsChannelSwitch = 111

§

TdlsCancelChannelSwitch = 112

§

WiphyRegChange = 113

§

AbortScan = 114

§

StartNan = 115

§

StopNan = 116

§

AddNanFunction = 117

§

DelNanFunction = 118

§

ChangeNanConfig = 119

§

NanMatch = 120

§

SetMulticastToUnicast = 121

§

UpdateConnectParams = 122

§

SetPmk = 123

§

DelPmk = 124

§

PortAuthorized = 125

§

ReloadRegdb = 126

§

ExternalAuth = 127

§

StaOpmodeChanged = 128

§

ControlPortFrame = 129

§

GetFtmResponderStats = 130

§

PeerMeasurementStart = 131

§

PeerMeasurementResult = 132

§

PeerMeasurementComplete = 133

§

NotifyRadar = 134

§

UpdateOweInfo = 135

§

SetTidConfig = 137

§

UnprotBeacon = 138

§

ControlPortFrameTxStatus = 139

§

SetSarSpecs = 140

§

ObssColorCollision = 141

§

ColorChangeRequest = 142

§

ColorChangeStarted = 143

§

ColorChangeAborted = 144

§

ColorChangeCompleted = 145

§

SetFilsAad = 146

§

AssocComeback = 147

§

AddLinkSta = 150

§

ModifyLinkSta = 151

§

RemoveLinkSta = 152

§

SetHwTimestamp = 153

§

LinksRemoved = 154

§

SetTidToLinkMapping = 155

Implementations§

Source§

impl Commands

Source

pub fn from_value(value: u64) -> Option<Self>

Trait Implementations§

Source§

impl Clone for Commands

Source§

fn clone(&self) -> Commands

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Commands

Source§

impl Debug for Commands

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.