Trait SignerBoxClone

Source
pub trait SignerBoxClone {
    // Required method
    fn box_clone(&self) -> Box<dyn Signer>;
}
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 Signer>

Implementors§

Source§

impl<T> SignerBoxClone for T
where T: 'static + Signer + Clone,

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