pub enum LogCommand {
Android(AndroidLogCommand),
}
Variants§
Android(AndroidLogCommand)
Implementations§
Source§impl LogCommand
impl LogCommand
pub fn handle_command(&self, config: &Config) -> Result<()>
Trait Implementations§
Source§impl Clap for LogCommand
impl Clap for LogCommand
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§impl Clone for LogCommand
impl Clone for LogCommand
Source§fn clone(&self) -> LogCommand
fn clone(&self) -> LogCommand
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 Debug for LogCommand
impl Debug for LogCommand
Source§impl FromArgMatches for LogCommand
impl FromArgMatches for LogCommand
Source§fn from_arg_matches(matches: &ArgMatches) -> Self
fn from_arg_matches(matches: &ArgMatches) -> Self
It’s common to have an “application context” struct (sometimes called
config) that represents all the normalized values after being processed by
the CLI. Read more
Source§impl IntoApp for LogCommand
impl IntoApp for LogCommand
Source§impl Subcommand for LogCommand
impl Subcommand for LogCommand
Source§fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
@TODO @release @docs
Source§fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
@TODO @release @docs
Auto Trait Implementations§
impl Freeze for LogCommand
impl RefUnwindSafe for LogCommand
impl Send for LogCommand
impl Sync for LogCommand
impl Unpin for LogCommand
impl UnwindSafe for LogCommand
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