Trait delay::WaiterClone[][src]

pub trait WaiterClone {
    fn clone_box(&self) -> Box<dyn Waiter>;
}

Implement cloning for Waiter. This requires a temporary (unfortunately public) trait to allow an implementation of box clone on Waiter.

Required methods

fn clone_box(&self) -> Box<dyn Waiter>[src]

Loading content...

Implementors

impl<T> WaiterClone for T where
    T: 'static + Waiter + Clone
[src]

Implement WaiterClone for every T that implements Clone.

Loading content...