Skip to main content

Component

Trait Component 

Source
pub trait Component: Debug {
    // Required methods
    fn default_desc(&self) -> Html;
    fn bundle(&self, outbasepath: &String) -> Result<Option<String>, Error>;
}

Required Methods§

Source

fn default_desc(&self) -> Html

creates [.] (eg, .tar) from whatever self refers to invocation directory is unspecified returns None or “.” if adding . may also create temporarily

Source

fn bundle(&self, outbasepath: &String) -> Result<Option<String>, Error>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§