Enum rjc::args::CommandParsers

source ·
pub enum CommandParsers {
Show 24 variants Dir(Dir), Assoc(Assoc), Netstat(Netstat), Tasklist(Tasklist), Ls(Ls), Wc(Wc), Du, Cksum, Env, File, Chage(Chage), Acpi(Acpi), Passwd(Passwd), Shadow(Shadow), Timedatectl(Timedatectl), Time(Time), W(W), Sysctl(Sysctl), Airport(Airport), Lsd, EmailAddress, Timestamp(Timestamp), Version(Version), Ps(Ps),
}

Variants§

§

Dir(Dir)

dir command parser

§

Assoc(Assoc)

assoc command parser

§

Netstat(Netstat)

netstat -an” command parser

§

Tasklist(Tasklist)

tasklist command parser

§

Ls(Ls)

ls command parser

§

Wc(Wc)

wc command parser

§

Du

du command parser

§

Cksum

cksum command parser

§

Env

env command parser

§

File

file command parser

§

Chage(Chage)

chage command parser

§

Acpi(Acpi)

acpi command parser

§

Passwd(Passwd)

passwd command parser

§

Shadow(Shadow)

shadow command parser

§

Timedatectl(Timedatectl)

timedatectl command parser

§

Time(Time)

time command parser

§

W(W)

w command parser

§

Sysctl(Sysctl)

sysctl command parser

§

Airport(Airport)

airport command parser

§

Lsd

lsd command parser

§

EmailAddress

email address format parser

§

Timestamp(Timestamp)

timestamp command parser

§

Version(Version)

version command parser

§

Ps(Ps)

ps command parser

Trait Implementations§

source§

impl Debug for CommandParsers

source§

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

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for CommandParsers

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Subcommand for CommandParsers

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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, U> TryFrom<U> for Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.