Trait Step

Source
pub trait Step:
    'static
    + Send
    + Sync {
    // Required methods
    fn name(&self) -> Cow<'static, str>;
    fn current(&self) -> u32;
    fn total(&self) -> u32;
}

Required Methods§

Source

fn name(&self) -> Cow<'static, str>

Source

fn current(&self) -> u32

Source

fn total(&self) -> u32

Implementations on Foreign Types§

Source§

impl Step for MainStep

Source§

fn name(&self) -> Cow<'static, str>

Source§

fn current(&self) -> u32

Source§

fn total(&self) -> u32

Source§

impl Step for SubStep

Source§

fn name(&self) -> Cow<'static, str>

Source§

fn current(&self) -> u32

Source§

fn total(&self) -> u32

Implementors§