pub struct KvDbConfig {
pub path: String,
pub cache_capacity: u64,
pub flush_every_ms: u64,
}Fields§
§path: String§cache_capacity: u64§flush_every_ms: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for KvDbConfig
impl<'de> Deserialize<'de> for KvDbConfig
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
Auto Trait Implementations§
impl Freeze for KvDbConfig
impl RefUnwindSafe for KvDbConfig
impl Send for KvDbConfig
impl Sync for KvDbConfig
impl Unpin for KvDbConfig
impl UnwindSafe for KvDbConfig
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