Expand description
Helper library for productionized driver debugging.
Re-exports§
pub use anyhow;pub use self;pub use fidl;pub use fidl_fuchsia_driver_debug;pub use zx;
Structs§
- Command
Responder - Responder for a single
fuchsia.driver.debug.Debug/Executerequest. - Execution
Result - Result of executing a driver debug command.
Traits§
- From
Args - Types which can be constructed from a set of commandline arguments.
- SubCommands
- A
FromArgsimplementation that can parse into one or more subcommands.
Functions§
- command_
info - Returns metadata for all supported subcommands of
C. - dispatch
- Parses arguments into
Cand executeshandleron the parsed subcommand, returning anExecutionResult. - next_
command - Reads the next parsed subcommand from a
DebugRequestStream. - parse_
args - Parses a slice of argument strings into the subcommand type
C. - serve
- Serves a
DebugRequestStreamby parsing commands intoCand invokinghandlerfor each command.
Derive Macros§
- From
Args - Entrypoint for
#[derive(FromArgs)].