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