pub type BoxedDatabase = Box<dyn Database + Send + Sync + 'static>;Available on crate feature
subnet only.Expand description
Helper type which defines a thread safe boxed Database trait.
Aliased Type§
pub struct BoxedDatabase(/* private fields */);Trait Implementations§
Source§impl Clone for BoxedDatabase
impl Clone for BoxedDatabase
Source§fn clone(&self) -> BoxedDatabase
fn clone(&self) -> BoxedDatabase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more