Struct ades::cli::Encryption
source · [−]pub struct Encryption {
pub encrypt: bool,
}
Fields
encrypt: bool
Trait Implementations
sourceimpl Args for Encryption
impl Args for Encryption
sourceimpl CommandFactory for Encryption
impl CommandFactory for Encryption
sourcefn into_app<'b>() -> Command<'b>
fn into_app<'b>() -> Command<'b>
Replaced with `CommandFactory::command
Deprecated, replaced with CommandFactory::command
sourcefn into_app_for_update<'b>() -> Command<'b>
fn into_app_for_update<'b>() -> Command<'b>
Replaced with `CommandFactory::command_for_update
Deprecated, replaced with CommandFactory::command_for_update
sourcefn command_for_update<'help>() -> App<'help>
fn command_for_update<'help>() -> App<'help>
sourceimpl FromArgMatches for Encryption
impl FromArgMatches for Encryption
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
sourcefn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
sourceimpl Parser for Encryption
impl Parser for Encryption
sourcefn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
sourcefn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
sourcefn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, exit on error
sourcefn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, return Err on error.
Auto Trait Implementations
impl RefUnwindSafe for Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnwindSafe for Encryption
Blanket Implementations
sourceimpl<T> AnyExt for T
impl<T> AnyExt for T
sourceimpl<T, R> AnyExt1<R> for T
impl<T, R> AnyExt1<R> for T
sourcefn let_ref<'a>(&'a self, f: impl FnOnce(&'a Self) -> R) -> R
fn let_ref<'a>(&'a self, f: impl FnOnce(&'a Self) -> R) -> R
Performs operation f
with &self
, returns the closure result. Read more
sourcefn let_mut<'a>(&'a mut self, f: impl FnOnce(&'a mut Self) -> R) -> R
fn let_mut<'a>(&'a mut self, f: impl FnOnce(&'a mut Self) -> R) -> R
Performs operation f
with &mut self
, returns the closure result. Read more
sourcefn let_owned(self, f: impl FnOnce(Self) -> R) -> R
fn let_owned(self, f: impl FnOnce(Self) -> R) -> R
Consumes self
, performs operation f
with it, returns the closure result. Read more
sourcefn also_ref(self, f: impl FnOnce(&Self) -> R) -> Self
fn also_ref(self, f: impl FnOnce(&Self) -> R) -> Self
Consumes self
, performs operation f
with it, returns the receiver. Read more
sourcefn also_mut(self, f: impl FnOnce(&mut Self) -> R) -> Self
fn also_mut(self, f: impl FnOnce(&mut Self) -> R) -> Self
Consumes self
, performs operation f
on it, returns the updated value. Read more
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, R> StdAnyExt1<R> for T
impl<T, R> StdAnyExt1<R> for T
sourcefn measure_time(self, f: impl FnOnce(Self) -> R) -> Duration
fn measure_time(self, f: impl FnOnce(Self) -> R) -> Duration
Executes the given closure block and returns the duration of elapsed time interval.
sourcefn measure_time_with_value(self, f: impl FnOnce(Self) -> R) -> (R, Duration)
fn measure_time_with_value(self, f: impl FnOnce(Self) -> R) -> (R, Duration)
Executes the given closure block, returns the result of the closure execution and the duration of elapsed time interval. Read more