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

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

Required Methods§

Implementors§

source§

impl<T> HybridEncryptBoxClone for Twhere T: 'static + HybridEncrypt + Clone,

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