Skip to main content

WaiterClone

Trait WaiterClone 

Source
pub trait WaiterClone {
    // Required method
    fn clone_box(&self) -> Box<dyn Waiter>;
}
Expand description

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

Required Methods§

Source

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

Implementors§

Source§

impl<T> WaiterClone for T
where T: 'static + Waiter + Clone,

Implement WaiterClone for every T that implements Clone.