Skip to main content

BoxedDatabase

Type Alias BoxedDatabase 

Source
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

Source§

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)

Performs copy-assignment from source. Read more