Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Trait Flag

Source
pub trait Flag {
    // Required methods
    fn usage() -> Arg;
    fn handler() -> Result<(), Error>;
}
Expand description

Abstract flag trait

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§