[][src]Trait bundle_sources::Component

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

Required methods

pub fn default_desc(&self) -> Html[src]

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

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

Loading content...

Implementors

impl Component for DirectoryComponent[src]

impl Component for FileComponent[src]

impl Component for GitComponent[src]

impl Component for RawDirectoryComponent[src]

Loading content...