Struct nebari::tree::ByIdIndexer
source · [−]pub struct ByIdIndexer<EmbeddedIndexer>(pub EmbeddedIndexer);
Expand description
Indexes and Reduces VersionedByIdIndex
and UnversionedByIdIndex
.
Contains an EmbeddedIndex
.
Tuple Fields
0: EmbeddedIndexer
Trait Implementations
sourceimpl<EmbeddedIndexer: Clone> Clone for ByIdIndexer<EmbeddedIndexer>
impl<EmbeddedIndexer: Clone> Clone for ByIdIndexer<EmbeddedIndexer>
sourcefn clone(&self) -> ByIdIndexer<EmbeddedIndexer>
fn clone(&self) -> ByIdIndexer<EmbeddedIndexer>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<EmbeddedIndexer: Debug> Debug for ByIdIndexer<EmbeddedIndexer>
impl<EmbeddedIndexer: Debug> Debug for ByIdIndexer<EmbeddedIndexer>
sourceimpl<EmbeddedIndexer: Default> Default for ByIdIndexer<EmbeddedIndexer>
impl<EmbeddedIndexer: Default> Default for ByIdIndexer<EmbeddedIndexer>
sourcefn default() -> ByIdIndexer<EmbeddedIndexer>
fn default() -> ByIdIndexer<EmbeddedIndexer>
Returns the “default value” for a type. Read more
sourceimpl<EmbeddedIndexer, EmbeddedIndex, EmbeddedStats> Reducer<UnversionedByIdIndex<EmbeddedIndex>, ByIdStats<EmbeddedStats>> for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: Reducer<EmbeddedIndex, EmbeddedStats>,
EmbeddedIndex: EmbeddedIndex<Indexer = EmbeddedIndexer, Reduced = EmbeddedStats>,
impl<EmbeddedIndexer, EmbeddedIndex, EmbeddedStats> Reducer<UnversionedByIdIndex<EmbeddedIndex>, ByIdStats<EmbeddedStats>> for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: Reducer<EmbeddedIndex, EmbeddedStats>,
EmbeddedIndex: EmbeddedIndex<Indexer = EmbeddedIndexer, Reduced = EmbeddedStats>,
sourcefn reduce<'a, Indexes, IndexesIter>(
&self,
indexes: Indexes
) -> ByIdStats<EmbeddedStats> where
EmbeddedIndex: 'a,
Indexes: IntoIterator<Item = &'a UnversionedByIdIndex<EmbeddedIndex>, IntoIter = IndexesIter> + ExactSizeIterator,
IndexesIter: Iterator<Item = &'a UnversionedByIdIndex<EmbeddedIndex>> + ExactSizeIterator + Clone,
fn reduce<'a, Indexes, IndexesIter>(
&self,
indexes: Indexes
) -> ByIdStats<EmbeddedStats> where
EmbeddedIndex: 'a,
Indexes: IntoIterator<Item = &'a UnversionedByIdIndex<EmbeddedIndex>, IntoIter = IndexesIter> + ExactSizeIterator,
IndexesIter: Iterator<Item = &'a UnversionedByIdIndex<EmbeddedIndex>> + ExactSizeIterator + Clone,
Reduces one or more indexes into a single reduced index.
sourcefn rereduce<'a, ReducedIndexes, ReducedIndexesIter>(
&self,
values: ReducedIndexes
) -> ByIdStats<EmbeddedStats> where
Self: 'a,
EmbeddedStats: 'a,
ReducedIndexes: IntoIterator<Item = &'a ByIdStats<EmbeddedStats>, IntoIter = ReducedIndexesIter> + ExactSizeIterator,
ReducedIndexesIter: Iterator<Item = &'a ByIdStats<EmbeddedStats>> + ExactSizeIterator + Clone,
fn rereduce<'a, ReducedIndexes, ReducedIndexesIter>(
&self,
values: ReducedIndexes
) -> ByIdStats<EmbeddedStats> where
Self: 'a,
EmbeddedStats: 'a,
ReducedIndexes: IntoIterator<Item = &'a ByIdStats<EmbeddedStats>, IntoIter = ReducedIndexesIter> + ExactSizeIterator,
ReducedIndexesIter: Iterator<Item = &'a ByIdStats<EmbeddedStats>> + ExactSizeIterator + Clone,
Reduces one or more previously-reduced indexes into a single reduced index.
sourceimpl<EmbeddedIndexer, EmbeddedIndex, EmbeddedStats> Reducer<VersionedByIdIndex<EmbeddedIndex>, ByIdStats<EmbeddedStats>> for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: Reducer<EmbeddedIndex, EmbeddedStats>,
EmbeddedIndex: EmbeddedIndex<Indexer = EmbeddedIndexer, Reduced = EmbeddedStats>,
impl<EmbeddedIndexer, EmbeddedIndex, EmbeddedStats> Reducer<VersionedByIdIndex<EmbeddedIndex>, ByIdStats<EmbeddedStats>> for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: Reducer<EmbeddedIndex, EmbeddedStats>,
EmbeddedIndex: EmbeddedIndex<Indexer = EmbeddedIndexer, Reduced = EmbeddedStats>,
sourcefn reduce<'a, Indexes, IndexesIter>(
&self,
indexes: Indexes
) -> ByIdStats<EmbeddedStats> where
EmbeddedIndex: 'a,
Indexes: IntoIterator<Item = &'a VersionedByIdIndex<EmbeddedIndex>, IntoIter = IndexesIter> + ExactSizeIterator,
IndexesIter: Iterator<Item = &'a VersionedByIdIndex<EmbeddedIndex>> + ExactSizeIterator + Clone,
fn reduce<'a, Indexes, IndexesIter>(
&self,
indexes: Indexes
) -> ByIdStats<EmbeddedStats> where
EmbeddedIndex: 'a,
Indexes: IntoIterator<Item = &'a VersionedByIdIndex<EmbeddedIndex>, IntoIter = IndexesIter> + ExactSizeIterator,
IndexesIter: Iterator<Item = &'a VersionedByIdIndex<EmbeddedIndex>> + ExactSizeIterator + Clone,
Reduces one or more indexes into a single reduced index.
sourcefn rereduce<'a, ReducedIndexes: IntoIterator<Item = &'a ByIdStats<EmbeddedStats>, IntoIter = ReducedIndexesIter> + ExactSizeIterator, ReducedIndexesIter: Iterator<Item = &'a ByIdStats<EmbeddedStats>> + ExactSizeIterator + Clone>(
&self,
values: ReducedIndexes
) -> ByIdStats<EmbeddedStats> where
Self: 'a,
EmbeddedStats: 'a,
fn rereduce<'a, ReducedIndexes: IntoIterator<Item = &'a ByIdStats<EmbeddedStats>, IntoIter = ReducedIndexesIter> + ExactSizeIterator, ReducedIndexesIter: Iterator<Item = &'a ByIdStats<EmbeddedStats>> + ExactSizeIterator + Clone>(
&self,
values: ReducedIndexes
) -> ByIdStats<EmbeddedStats> where
Self: 'a,
EmbeddedStats: 'a,
Reduces one or more previously-reduced indexes into a single reduced index.
Auto Trait Implementations
impl<EmbeddedIndexer> RefUnwindSafe for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: RefUnwindSafe,
impl<EmbeddedIndexer> Send for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: Send,
impl<EmbeddedIndexer> Sync for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: Sync,
impl<EmbeddedIndexer> Unpin for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: Unpin,
impl<EmbeddedIndexer> UnwindSafe for ByIdIndexer<EmbeddedIndexer> where
EmbeddedIndexer: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more