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
sourceimpl Debug for SledDbConfiguration
impl Debug for SledDbConfiguration
sourceimpl<'de> Deserialize<'de> for SledDbConfiguration
impl<'de> Deserialize<'de> for SledDbConfiguration
sourcefn 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
sourceimpl From<SledDbConfiguration> for AnyDatabaseConfig
impl From<SledDbConfiguration> for AnyDatabaseConfig
sourcefn from(inner: SledDbConfiguration) -> Self
fn from(inner: SledDbConfiguration) -> Self
Converts to this type from the input type.
sourceimpl Serialize for SledDbConfiguration
impl Serialize for SledDbConfiguration
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more