Trait bdk::database::ConfigurableDatabase[][src]

pub trait ConfigurableDatabase: Database + Sized {
    type Config: Debug;
    fn from_config(config: &Self::Config) -> Result<Self, Error>;
}

Trait for Database types that can be created given a configuration

Associated Types

type Config: Debug[src]

Type that contains the configuration

Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

Loading content...

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

Loading content...

Implementors

Loading content...