pub struct OrphansCommand {
pub kill: bool,
pub dry_run: bool,
pub yes: bool,
pub json: bool,
pub verbose: bool,
pub in_dir: Option<String>,
pub by_name: Option<String>,
}Expand description
Find orphaned processes (parent has exited)
Fields§
§kill: boolKill found orphaned processes
dry_run: boolShow what would be killed without actually killing
yes: boolSkip confirmation when killing
json: boolOutput as JSON
verbose: boolShow verbose output
in_dir: Option<String>Filter by directory (defaults to current directory if no path given)
by_name: Option<String>Filter by process name
Implementations§
Trait Implementations§
Source§impl Args for OrphansCommand
impl Args for OrphansCommand
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 OrphansCommand
impl Debug for OrphansCommand
Source§impl FromArgMatches for OrphansCommand
impl FromArgMatches for OrphansCommand
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 OrphansCommand
impl RefUnwindSafe for OrphansCommand
impl Send for OrphansCommand
impl Sync for OrphansCommand
impl Unpin for OrphansCommand
impl UnsafeUnpin for OrphansCommand
impl UnwindSafe for OrphansCommand
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