pub struct ListCommand {
pub component: Option<String>,
pub with_url: bool,
pub accessor: Option<String>,
}
Expand description
Lists all components (relative to the scope where the archivist receives events from) of components that expose inspect.
Fields§
§component: Option<String>
a fuzzy-search query. May include URL, moniker, or manifest fragments. a fauzzy-search query for the component we are interested in. May include URL, moniker, or manifest fragments. If this is provided, the output will only contain monikers for components that matched the query.
with_url: bool
also print the URL of the component.
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:fuchsia.diagnostics.ArchiveAccessor.feedback
means that the command will connect to the ArchiveAccecssor
filtered by the feedback
pipeline exposed by bootstrap/archivist
.
Trait Implementations§
Source§impl ArgsInfo for ListCommand
impl ArgsInfo for ListCommand
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 ListCommand
impl Command for ListCommand
Source§impl Debug for ListCommand
impl Debug for ListCommand
Source§impl Default for ListCommand
impl Default for ListCommand
Source§fn default() -> ListCommand
fn default() -> ListCommand
Source§impl FromArgs for ListCommand
impl FromArgs for ListCommand
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 ListCommand
impl PartialEq for ListCommand
Source§impl SubCommand for ListCommand
impl SubCommand for ListCommand
impl StructuralPartialEq for ListCommand
Auto Trait Implementations§
impl Freeze for ListCommand
impl RefUnwindSafe for ListCommand
impl Send for ListCommand
impl Sync for ListCommand
impl Unpin for ListCommand
impl UnwindSafe for ListCommand
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