pub struct LocalStoreConfig {
pub path: PathBuf,
}
Expand description
Configuration for LocalStore
.
Fields§
§path: PathBuf
Root directory for that store
Implementations§
Source§impl LocalStoreConfig
impl LocalStoreConfig
pub fn build(&self) -> Result<LocalStore>
Trait Implementations§
Source§impl Clone for LocalStoreConfig
impl Clone for LocalStoreConfig
Source§fn clone(&self) -> LocalStoreConfig
fn clone(&self) -> LocalStoreConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LocalStoreConfig
impl Debug for LocalStoreConfig
Source§impl From<LocalStoreConfig> for AnyStoreConfig
impl From<LocalStoreConfig> for AnyStoreConfig
Source§fn from(value: LocalStoreConfig) -> Self
fn from(value: LocalStoreConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalStoreConfig
impl RefUnwindSafe for LocalStoreConfig
impl Send for LocalStoreConfig
impl Sync for LocalStoreConfig
impl Unpin for LocalStoreConfig
impl UnwindSafe for LocalStoreConfig
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