Start

Trait Start 

Source
pub trait Start {
    type Fut;

    // Required method
    fn make(&mut self) -> Self::Fut;
}
Expand description

Start a timer Future. Used with TimeoutUnused.

Required Associated Types§

Source

type Fut

Future created by this factory.

Required Methods§

Source

fn make(&mut self) -> Self::Fut

Create the future (start a timer).

Implementors§

Source§

impl<Fut, F: FnMut() -> Fut> Start for F

Implemented only for Sized because stored.

Source§

type Fut = Fut