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: String
path to the parent directory of the fuchsia.hardware.pci service
verbose: bool
print verbose device configuration
quiet: bool
don’t print errors found trying to parse the database
print_config: bool
dump raw configuration space
print_numeric: bool
print numeric IDs.
only_print_numeric: bool
only 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