Skip to main content

KeyAction

Trait KeyAction 

Source
pub trait KeyAction {
    // Required method
    fn run(&self) -> Result<(), Box<dyn Error>>;
}

Required Methods§

Source

fn run(&self) -> Result<(), Box<dyn Error>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§