Re-exports§
Modules§
Macros§
- bail
- Return early with an error.
- ensure
- Return early with an error if a condition is not satisfied.
- error_
report - mod_
pub_ use - define and pub use the mod
- paste
- subcmd
- define a new subcommand
Structs§
- Error
- The
Error
type, a wrapper around a dynamic error type.
Enums§
Traits§
- Context
- Provides the
context
method forResult
. - Highlight
- Parser
- Parse command-line arguments into
Self
.
Type Aliases§
- Result
Result<T, Error>
Attribute Macros§
- async_
trait - enum_
dispatch - Annotating a trait or enum definition with an
#[enum_dispatch]
attribute will register it with the enum_dispatch library, allowing it to be used to generate impl blocks elsewhere.
Derive Macros§
- Enum
String - Converts strings to enum variants based on their name.
- Parser
- Generates the
Parser
implementation.