pub struct Args {
pub filter: Option<Filter>,
pub service: String,
pub verbose: bool,
pub quiet: bool,
pub print_config: bool,
pub print_numeric: bool,
pub only_print_numeric: bool,
pub command: Option<SubCommand>,
}Expand description
Display PCI information
Fields§
§filter: Option<Filter>[[
service: Stringpath to the parent directory of the fuchsia.hardware.pci service
verbose: boolprint verbose device configuration
quiet: booldon’t print errors found trying to parse the database
print_config: booldump raw configuration space
print_numeric: boolprint numeric IDs.
only_print_numeric: boolonly print numeric IDs.
command: Option<SubCommand>Trait Implementations§
Source§impl FromArgs for Args
impl FromArgs for Args
Source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
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>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
impl TopLevelCommand for Args
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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