Skip to main content

Addon

Trait Addon 

Source
pub trait Addon {
    // Provided methods
    fn dist() -> Result<()> { ... }
    fn rule(target: String, options: Vec<String>) -> Result<()> { ... }
}

Provided Methods§

Source

fn dist() -> Result<()>

Command dist

§Errors

User throw errors.

Source

fn rule(target: String, options: Vec<String>) -> Result<()>

Command rule

§Errors

User throw errors.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§