pub struct WaitCommand {
pub in_dir: Option<String>,
pub by_name: Option<String>,
pub start_time: Option<u64>,
pub cmd: bool,
/* private fields */
}Expand description
Wait for process(es) to exit
Fields§
§in_dir: Option<String>Filter by directory; takes the next word as the directory unless it starts with ‘-’ (bare –in is the current directory, –in=DIR is explicit)
by_name: Option<String>Filter by process name
start_time: Option<u64>Wait only if the process still has this start time (Unix seconds, start_time
in its JSON): a PID the OS gave to a new process is ruled out. One PID target
cmd: boolMatch name targets and –by as a substring of the process name or full command line (like pkill -f)
Implementations§
Trait Implementations§
Source§impl Args for WaitCommand
impl Args for WaitCommand
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 Debug for WaitCommand
impl Debug for WaitCommand
Source§impl FromArgMatches for WaitCommand
impl FromArgMatches for WaitCommand
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.Auto Trait Implementations§
impl Freeze for WaitCommand
impl RefUnwindSafe for WaitCommand
impl Send for WaitCommand
impl Sync for WaitCommand
impl Unpin for WaitCommand
impl UnsafeUnpin for WaitCommand
impl UnwindSafe for WaitCommand
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