pub enum Algorithm {
    M(Encryption),
    AES(Encryption),
    DES(Encryption),
}

Variants

M(Encryption)

A subcommand for specify using AES and DES to Decrypt or Encrypt by -e

AES(Encryption)

A subcommand for specify using AES to Decrypt or Encrypt by -e

DES(Encryption)

A subcommand for specify using DES to Decrypt or Encrypt by -e

Trait Implementations

👎 Deprecated since 3.1.0:

Replaced with `CommandFactory::command

Deprecated, replaced with CommandFactory::command

👎 Deprecated since 3.1.0:

Replaced with `CommandFactory::command_for_update

Deprecated, replaced with CommandFactory::command_for_update

Build an Command that can instantiate Self. Read more

Build an Command that can update self. Read more

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

Assign values from ArgMatches to self.

Parse from std::env::args_os(), exit on error

Parse from std::env::args_os(), return Err on error.

Parse from iterator, exit on error

Parse from iterator, return Err on error.

Update from iterator, exit on error

Update from iterator, return Err on error.

Append to Command so it can instantiate Self. Read more

Append to Command so it can update self. Read more

Test whether Self can parse a specific subcommand

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Chainable drop

Convert value to Some(value)

Convert value to Ok(value)

Convert value to Err(value)

Convert value to Box::new(value)

Convert value to Cell(value)

Convert value to RefCell(value)

Convert value to Rc::new(value)

Convert value to Arc::new(value)

Returns the name of a type as a string slice. Read more

Returns the size of a type in bytes. Read more

Returns Some(self) if it satisfies the given predicate function, or None if it doesn’t. Read more

Returns Some(self) if it doesn’t satisfy the given predicate function, or None if it does. Read more

Performs operation f with &self, returns the closure result. Read more

Performs operation f with &mut self, returns the closure result. Read more

Consumes self, performs operation f with it, returns the closure result. Read more

Consumes self, performs operation f with it, returns the receiver. Read more

Consumes self, performs operation f on it, returns the updated value. Read more

The Y Combinator Read more

Returns Some(f()) if it satisfies the given predicate function, or None if it doesn’t. Read more

Returns Some(f()) if it doesn’t satisfy the given predicate function, or None if it does. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

System output -> with :#?’s println!. Read more

System output -> with :?’s println!. Read more

Consumes self, println! as it is, returns self.

Executes the given closure block and returns the duration of elapsed time interval.

Executes the given closure block, returns the result of the closure execution and the duration of elapsed time interval. Read more

Executes the given closure block, returns the receiver self and the duration of elapsed time interval. Read more

Executes the given closure block, returns the receiver self and the duration of elapsed time interval. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.