pub trait TransportFactoryClone {
// Required method
fn clone_box(&self) -> Box<dyn TransportFactory>;
}Expand description
Helper trait for cloning TransportFactory trait objects
This is a workaround for the fact that Clone cannot be made into a trait object.
Implementations should return a boxed clone of themselves.