Trait tink_aead::subtle::IndCpaCipherBoxClone
source · pub trait IndCpaCipherBoxClone {
// Required method
fn box_clone(&self) -> Box<dyn IndCpaCipher>;
}
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 IndCpaCipher>
Implementors§
impl<T> IndCpaCipherBoxClone for Twhere T: 'static + IndCpaCipher + Clone,
Default implementation of the box-clone trait bound for any underlying
concrete type that implements Clone
.