Struct iquery::commands::ShowCommand
source · pub struct ShowCommand {
pub manifest: Option<String>,
pub selectors: Vec<String>,
pub accessor: Option<String>,
}
Expand description
Prints the inspect hierarchies that match the given selectors.
Fields§
§manifest: Option<String>
the name of the manifest file that we are interested in. If this is provided, the output will only contain monikers for components whose url contains the provided name.
selectors: Vec<String>
selectors for which the selectors should be queried. If no selectors are provided, inspect
data for the whole system will be returned. If --manifest
is provided then the selectors
should be tree selectors, otherwise component selectors or full selectors.
accessor: Option<String>
A selector specifying what fuchsia.diagnostics.ArchiveAccessor
to connect to.
The selector will be in the form of:
Typically this is the output of iquery list-accessors
.
For example: bootstrap/archivist:expose:fuchsia.diagnostics.FeedbackArchiveAccessor
means that the command will connect to the FeedbackArchiveAccecssor
exposed by bootstrap/archivist
.
Trait Implementations§
source§impl ArgsInfo for ShowCommand
impl ArgsInfo for ShowCommand
source§fn get_args_info() -> CommandInfoWithArgs
fn get_args_info() -> CommandInfoWithArgs
§fn get_subcommands() -> Vec<SubCommandInfo<'static>>
fn get_subcommands() -> Vec<SubCommandInfo<'static>>
source§impl Command for ShowCommand
impl Command for ShowCommand
type Result = ShowResult
fn execute<'life0, 'life1, 'async_trait, P>(
&'life0 self,
provider: &'life1 P
) -> Pin<Box<dyn Future<Output = Result<Self::Result, Error>> + Send + 'async_trait>>where
P: 'async_trait + DiagnosticsProvider,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§impl Debug for ShowCommand
impl Debug for ShowCommand
source§impl FromArgs for ShowCommand
impl FromArgs for ShowCommand
source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
source§fn redact_arg_values(
__cmd_name: &[&str],
__args: &[&str]
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( __cmd_name: &[&str], __args: &[&str] ) -> Result<Vec<String>, EarlyExit>
source§impl PartialEq for ShowCommand
impl PartialEq for ShowCommand
source§fn eq(&self, other: &ShowCommand) -> bool
fn eq(&self, other: &ShowCommand) -> bool
self
and other
values to be equal, and is used
by ==
.