pub struct DatafoxConfig<'store, S: ?Sized = InMemoryStorage> { /* private fields */ }Implementations§
Source§impl<'store, S: ?Sized> DatafoxConfig<'store, S>
impl<'store, S: ?Sized> DatafoxConfig<'store, S>
pub fn new(storage: &'store S) -> Self
pub fn with_environment(self, environment: DatafoxEnvironment) -> Self
pub fn with_prelude(self, prelude: Prelude) -> Self
pub fn with_prepared_query_storage<P>(self, storage: P) -> Selfwhere
P: PreparedQueryStorage + 'static,
pub fn with_planning_cache(self, planning_cache: PlanningCache) -> Self
pub fn serial(self) -> Self
pub fn parallel(self) -> Self
pub fn seed_threshold(self, seed_threshold: usize) -> Self
pub fn threads(self, threads: usize) -> Self
Auto Trait Implementations§
impl<'store, S> Freeze for DatafoxConfig<'store, S>where
S: ?Sized,
impl<'store, S = InMemoryStorage> !RefUnwindSafe for DatafoxConfig<'store, S>
impl<'store, S> Send for DatafoxConfig<'store, S>
impl<'store, S> Sync for DatafoxConfig<'store, S>
impl<'store, S> Unpin for DatafoxConfig<'store, S>where
S: ?Sized,
impl<'store, S> UnsafeUnpin for DatafoxConfig<'store, S>where
S: ?Sized,
impl<'store, S = InMemoryStorage> !UnwindSafe for DatafoxConfig<'store, S>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more