pub struct Args {Show 16 fields
pub syscall_number: bool,
pub attach: Option<pid_t>,
pub no_abbrev: bool,
pub string_limit: Option<usize>,
pub file: Option<PathBuf>,
pub summary_only: bool,
pub summary: bool,
pub successful_only: bool,
pub failed_only: bool,
pub env: Vec<String>,
pub username: Option<String>,
pub follow_forks: bool,
pub syscall_times: bool,
pub expr: Vec<String>,
pub json: bool,
pub command: Option<ArgCommand>,
}Fields§
§syscall_number: boolDisplay system call numbers
attach: Option<pid_t>Attach to a running process
no_abbrev: boolPrint un-abbreviated versions of strings
string_limit: Option<usize>Maximum string argument size to print
file: Option<PathBuf>Name of the file to print output to
summary_only: boolReport a summary instead of the regular output
summary: boolReport a summary in addition to the regular output
successful_only: boolPrint only syscalls that returned without an error code
failed_only: boolPrint only syscalls that returned with an error code
env: Vec<String>–env var=val adds an environment variable. –env var removes an environment variable.
username: Option<String>Run the command with uid, gid and supplementary groups of username.
follow_forks: boolTrace child processes as they are created by currently traced processes.
syscall_times: boolShow the time spent in system calls in ms.
expr: Vec<String>A qualifying expression which modifies which events to trace or how to trace them.
json: boolDisplay output in JSON format
command: Option<ArgCommand>Implementations§
Trait Implementations§
source§impl Args for Args
impl Args for Args
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 Args
impl CommandFactory for Args
source§impl FromArgMatches for Args
impl FromArgMatches for Args
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 Args
impl Parser for Args
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 Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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