pub enum Opt {
Phy(PhyCmd),
Iface(IfaceCmd),
Client(ClientCmd),
Connect(ClientConnectCmd),
Disconnect(ClientDisconnectCmd),
Scan(ClientScanCmd),
Status(IfaceStatusCmd),
WmmStatus(ClientWmmStatusCmd),
Ap(ApCmd),
Rsn(RsnCmd),
}
Variants§
Phy(PhyCmd)
commands for wlan phy devices
Iface(IfaceCmd)
commands for wlan iface devices
Client(ClientCmd)
commands for client stations
Connect(ClientConnectCmd)
Disconnect(ClientDisconnectCmd)
Scan(ClientScanCmd)
Status(IfaceStatusCmd)
WmmStatus(ClientWmmStatusCmd)
Ap(ApCmd)
commands for AP stations
Rsn(RsnCmd)
commands for verifying RSN behavior
Trait Implementations§
Source§impl StructOpt for Opt
impl StructOpt for Opt
Source§fn from_clap(matches: &ArgMatches<'_>) -> Self
fn from_clap(matches: &ArgMatches<'_>) -> Self
Creates the struct from
clap::ArgMatches
. It cannot fail
with a parameter generated by clap
by construction.§fn from_args() -> Selfwhere
Self: Sized,
fn from_args() -> Selfwhere
Self: Sized,
Gets the struct from the command line arguments. Print the
error message and quit the program in case of failure.
§fn from_iter<I>(iter: I) -> Self
fn from_iter<I>(iter: I) -> Self
Gets the struct from any iterator such as a
Vec
of your making.
Print the error message and quit the program in case of failure.§fn from_iter_safe<I>(iter: I) -> Result<Self, Error>
fn from_iter_safe<I>(iter: I) -> Result<Self, Error>
Gets the struct from any iterator such as a
Vec
of your making. Read moreimpl StructuralPartialEq for Opt
Auto Trait Implementations§
impl Freeze for Opt
impl RefUnwindSafe for Opt
impl Send for Opt
impl Sync for Opt
impl Unpin for Opt
impl UnwindSafe for Opt
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