pub struct FileStoreConfig {
pub data_dir: PathBuf,
pub engine_config: EngineConfig,
pub shared_embedder: Option<SharedEmbedderConfig>,
}Fields§
§data_dir: PathBuf§engine_config: EngineConfigImplementations§
Source§impl FileStoreConfig
impl FileStoreConfig
pub fn new(data_dir: impl AsRef<Path>) -> Self
pub fn with_engine_config(self, engine_config: EngineConfig) -> Self
Trait Implementations§
Source§impl Clone for FileStoreConfig
impl Clone for FileStoreConfig
Source§fn clone(&self) -> FileStoreConfig
fn clone(&self) -> FileStoreConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileStoreConfig
impl !RefUnwindSafe for FileStoreConfig
impl Send for FileStoreConfig
impl Sync for FileStoreConfig
impl Unpin for FileStoreConfig
impl UnsafeUnpin for FileStoreConfig
impl !UnwindSafe for FileStoreConfig
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