pub struct ShowCommand {
pub selectors: Vec<String>,
pub data: Vec<String>,
pub accessor: Option<String>,
pub name: Option<String>,
}
Expand description
Prints the inspect hierarchies that match the given selectors. See https://fuchsia.dev/fuchsia-src/development/diagnostics/inspect#userspace_tools for more.
Fields§
§selectors: Vec<String>
queries for accessing Inspect data.
If no selectors are provided, Inspect data for the whole system will be returned. If –data is specified, this should be exactly one component fuzzy search query.
data: Vec<String>
tree selectors to splice onto a component query specified as a positional argument
For example, show foo.cm --data root:bar
becomes the selector path/to/foo:root:bar
.
accessor: Option<String>
string specifying what fuchsia.diagnostics.ArchiveAccessor
to connect to.
This can be copied from the output of ffx inspect list-accessors
.
The selector will be in the form of:
name: Option<String>
specifies a tree published by a component by name.
If a selector is also provided, the specified name will be added to the selector.
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
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§impl SubCommand for ShowCommand
impl SubCommand for ShowCommand
impl StructuralPartialEq for ShowCommand
Auto Trait Implementations§
impl Freeze for ShowCommand
impl RefUnwindSafe for ShowCommand
impl Send for ShowCommand
impl Sync for ShowCommand
impl Unpin for ShowCommand
impl UnwindSafe for ShowCommand
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more