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§
Implementors§
impl<T> WaiterClone for T
Implement WaiterClone for every T that implements Clone.