Trait VerifierBoxClone

Source
pub trait VerifierBoxClone {
    // Required method
    fn box_clone(&self) -> Box<dyn Verifier>;
}
Expand description

Trait bound to indicate that primitive trait objects should support cloning themselves as trait objects.

Required Methods§

Source

fn box_clone(&self) -> Box<dyn Verifier>

Implementors§

Source§

impl<T> VerifierBoxClone for T
where T: 'static + Verifier + Clone,

Default implementation of the box-clone trait bound for any underlying concrete type that implements Clone.