Skip to main content

CloneBox

Trait CloneBox 

Source
pub trait CloneBox {
    // Required method
    fn clone_box(&self) -> BoxedDatabase;
}
Available on crate feature subnet only.

Required Methods§

Source

fn clone_box(&self) -> BoxedDatabase

Returns a Boxed clone of the underlying Database.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> CloneBox for T
where T: 'static + Database + Clone + Send + Sync,