Trait tink_core::HybridEncryptBoxClone
source · 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§
fn box_clone(&self) -> Box<dyn HybridEncrypt>
Implementors§
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
.