pub struct FieldQueryCache { /* private fields */ }Implementations§
Source§impl FieldQueryCache
impl FieldQueryCache
pub fn with_capacity(size: usize) -> Self
Trait Implementations§
Source§impl CacheAble<Field<Value>, Vec<Field<Value>>, 1> for FieldQueryCache
impl CacheAble<Field<Value>, Vec<Field<Value>>, 1> for FieldQueryCache
fn prepare_generation(&mut self, generation: u64)
fn save_scoped( &mut self, scope_hash: u64, params: &[DataField; 1], result: Vec<DataField>, )
fn fetch_scoped( &self, scope_hash: u64, params: &[DataField; 1], ) -> Option<&Vec<DataField>>
fn save(&mut self, params: &[DataField; 1], result: Vec<DataField>)
fn fetch(&self, params: &[DataField; 1]) -> Option<&Vec<DataField>>
Source§impl CacheAble<Field<Value>, Vec<Field<Value>>, 2> for FieldQueryCache
impl CacheAble<Field<Value>, Vec<Field<Value>>, 2> for FieldQueryCache
fn prepare_generation(&mut self, generation: u64)
fn save_scoped( &mut self, scope_hash: u64, params: &[DataField; 2], result: Vec<DataField>, )
fn fetch_scoped( &self, scope_hash: u64, params: &[DataField; 2], ) -> Option<&Vec<DataField>>
fn save(&mut self, params: &[DataField; 2], result: Vec<DataField>)
fn fetch(&self, params: &[DataField; 2]) -> Option<&Vec<DataField>>
Source§impl CacheAble<Field<Value>, Vec<Field<Value>>, 3> for FieldQueryCache
impl CacheAble<Field<Value>, Vec<Field<Value>>, 3> for FieldQueryCache
fn prepare_generation(&mut self, generation: u64)
fn save_scoped( &mut self, scope_hash: u64, params: &[DataField; 3], result: Vec<DataField>, )
fn fetch_scoped( &self, scope_hash: u64, params: &[DataField; 3], ) -> Option<&Vec<DataField>>
fn save(&mut self, params: &[DataField; 3], result: Vec<DataField>)
fn fetch(&self, params: &[DataField; 3]) -> Option<&Vec<DataField>>
Source§impl CacheAble<Field<Value>, Vec<Field<Value>>, 4> for FieldQueryCache
impl CacheAble<Field<Value>, Vec<Field<Value>>, 4> for FieldQueryCache
fn prepare_generation(&mut self, generation: u64)
fn save_scoped( &mut self, scope_hash: u64, params: &[DataField; 4], result: Vec<DataField>, )
fn fetch_scoped( &self, scope_hash: u64, params: &[DataField; 4], ) -> Option<&Vec<DataField>>
fn save(&mut self, params: &[DataField; 4], result: Vec<DataField>)
fn fetch(&self, params: &[DataField; 4]) -> Option<&Vec<DataField>>
Source§impl CacheAble<Field<Value>, Vec<Field<Value>>, 5> for FieldQueryCache
impl CacheAble<Field<Value>, Vec<Field<Value>>, 5> for FieldQueryCache
fn prepare_generation(&mut self, generation: u64)
fn save_scoped( &mut self, scope_hash: u64, params: &[DataField; 5], result: Vec<DataField>, )
fn fetch_scoped( &self, scope_hash: u64, params: &[DataField; 5], ) -> Option<&Vec<DataField>>
fn save(&mut self, params: &[DataField; 5], result: Vec<DataField>)
fn fetch(&self, params: &[DataField; 5]) -> Option<&Vec<DataField>>
Source§impl CacheAble<Field<Value>, Vec<Field<Value>>, 6> for FieldQueryCache
impl CacheAble<Field<Value>, Vec<Field<Value>>, 6> for FieldQueryCache
fn prepare_generation(&mut self, generation: u64)
fn save_scoped( &mut self, scope_hash: u64, params: &[DataField; 6], result: Vec<DataField>, )
fn fetch_scoped( &self, scope_hash: u64, params: &[DataField; 6], ) -> Option<&Vec<DataField>>
fn save(&mut self, params: &[DataField; 6], result: Vec<DataField>)
fn fetch(&self, params: &[DataField; 6]) -> Option<&Vec<DataField>>
Source§impl Clone for FieldQueryCache
impl Clone for FieldQueryCache
Source§fn clone(&self) -> FieldQueryCache
fn clone(&self) -> FieldQueryCache
Returns a duplicate 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 FieldQueryCache
impl Debug for FieldQueryCache
Auto Trait Implementations§
impl Freeze for FieldQueryCache
impl RefUnwindSafe for FieldQueryCache
impl Send for FieldQueryCache
impl Sync for FieldQueryCache
impl Unpin for FieldQueryCache
impl UnsafeUnpin for FieldQueryCache
impl UnwindSafe for FieldQueryCache
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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