Struct bdk::database::any::SledDbConfiguration
source · pub struct SledDbConfiguration {
pub path: String,
pub tree_name: String,
}
Expand description
Configuration type for a sled::Tree
database
Fields§
§path: String
Main directory of the db
tree_name: String
Name of the database tree, a separated namespace for the data
Trait Implementations§
source§impl Debug for SledDbConfiguration
impl Debug for SledDbConfiguration
source§impl<'de> Deserialize<'de> for SledDbConfiguration
impl<'de> Deserialize<'de> for SledDbConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<SledDbConfiguration> for AnyDatabaseConfig
impl From<SledDbConfiguration> for AnyDatabaseConfig
source§fn from(inner: SledDbConfiguration) -> Self
fn from(inner: SledDbConfiguration) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SledDbConfiguration
impl Send for SledDbConfiguration
impl Sync for SledDbConfiguration
impl Unpin for SledDbConfiguration
impl UnwindSafe for SledDbConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more