pub struct CliOptions {
    pub config: Option<String>,
    pub gdb: bool,
    pub debug_hosts: Option<HashSet<String>>,
    pub shm_cleanup: bool,
    pub show_build_info: bool,
    pub show_config: bool,
    pub general: GeneralOptions,
    pub network: NetworkOptions,
    pub host_option_defaults: HostDefaultOptions,
    pub experimental: ExperimentalOptions,
}Fields§
§config: Option<String>Path to the Shadow configuration file. Use ‘-’ to read from stdin
gdb: boolPause to allow gdb to attach
debug_hosts: Option<HashSet<String>>Pause after starting any processes on the comma-delimited list of hostnames
shm_cleanup: boolExit after running shared memory cleanup routine
show_build_info: boolExit after printing build information
show_config: boolExit after printing the final configuration
general: GeneralOptions§network: NetworkOptions§host_option_defaults: HostDefaultOptions§experimental: ExperimentalOptionsTrait Implementations§
Source§impl Args for CliOptions
 
impl Args for CliOptions
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 Clone for CliOptions
 
impl Clone for CliOptions
Source§fn clone(&self) -> CliOptions
 
fn clone(&self) -> CliOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl CommandFactory for CliOptions
 
impl CommandFactory for CliOptions
Source§impl Debug for CliOptions
 
impl Debug for CliOptions
Source§impl FromArgMatches for CliOptions
 
impl FromArgMatches for CliOptions
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 CliOptions
 
impl Parser for CliOptions
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 CliOptions
impl RefUnwindSafe for CliOptions
impl Send for CliOptions
impl Sync for CliOptions
impl Unpin for CliOptions
impl UnwindSafe for CliOptions
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
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