pub enum Subcommand<'a> {
Create(CreateOpts<'a>),
Export(ExportOpts<'a>),
DumpCommand(DumpCommandOps<'a>),
DumpConfig(DumpConfigOps<'a>),
}Variants§
Create(CreateOpts<'a>)
Export(ExportOpts<'a>)
DumpCommand(DumpCommandOps<'a>)
DumpConfig(DumpConfigOps<'a>)
Implementations§
Source§impl Subcommand<'_>
impl Subcommand<'_>
pub fn from_matches(matches: &ArgMatches) -> Option<Subcommand<'_>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Subcommand<'a>
impl<'a> RefUnwindSafe for Subcommand<'a>
impl<'a> Send for Subcommand<'a>
impl<'a> Sync for Subcommand<'a>
impl<'a> Unpin for Subcommand<'a>
impl<'a> UnwindSafe for Subcommand<'a>
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