Skip to main content

SubcommandDispatcher

Trait SubcommandDispatcher 

Source
pub trait SubcommandDispatcher<E: Error>: Subcommand {
    // Required method
    fn dispatch(&self) -> Result<(), E>;
}

Required Methods§

Source

fn dispatch(&self) -> Result<(), E>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§