Trait ProgressTrait

Source
pub trait ProgressTrait {
    type ProgressResultType;

    // Required methods
    fn update(&self, msg: &str) -> Result<Self::ProgressResultType>;
    fn done(&self, msg: &str) -> Result<Self::ProgressResultType>;
    fn done_without_indicator(
        &self,
        msg: &str,
    ) -> Result<Self::ProgressResultType>;
}

Required Associated Types§

Required Methods§

Source

fn update(&self, msg: &str) -> Result<Self::ProgressResultType>

Source

fn done(&self, msg: &str) -> Result<Self::ProgressResultType>

Source

fn done_without_indicator(&self, msg: &str) -> Result<Self::ProgressResultType>

Implementors§