pub struct ExecArgs {
pub silent: bool,
pub verbose: u8,
pub batch: bool,
pub gui: bool,
pub inherent: bool,
pub assume_inherent: bool,
pub property: Option<String>,
pub strategy: ExecStrategy,
}Expand description
Arguments for executing machine-check.
Fields§
§silent: boolWhether the execution should be completely silent.
This will prevent standard logging to stderr and writing the result to stdout.
verbose: u8Adds debug and trace messages depending of the number of flags used.
batch: boolOutputs the result to stdout in a machine-readable format.
The format is not stabilised yet.
gui: boolOpens the Graphical User Interface.
The gui feature of machine-check must be enabled for this to work.
inherent: boolVerifies the inherent property.
assume_inherent: boolAssumes that the inherent property holds.
The verification result will be meaningless if it does not.
property: Option<String>Verifies a given property.
It will be first verified that the inherent property holds unless assume_inherent is given.
strategy: ExecStrategyThe verification strategy.
Trait Implementations§
Source§impl Args for ExecArgs
impl Args for ExecArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for ExecArgs
impl CommandFactory for ExecArgs
Source§impl FromArgMatches for ExecArgs
impl FromArgMatches for ExecArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn 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.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for ExecArgs
impl Parser for ExecArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for ExecArgs
impl RefUnwindSafe for ExecArgs
impl Send for ExecArgs
impl Sync for ExecArgs
impl Unpin for ExecArgs
impl UnsafeUnpin for ExecArgs
impl UnwindSafe for ExecArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more