pub struct ContainerMerger<MC, CQ> { /* private fields */ }
Expand description
A merger for arbitrary containers.
MC
is a Container
that implements MergerChunk
.
CQ
is a ContainerQueue
supporting MC
.
Trait Implementations§
Source§impl<MC, CQ> Default for ContainerMerger<MC, CQ>
impl<MC, CQ> Default for ContainerMerger<MC, CQ>
Source§impl<MC, CQ> Merger for ContainerMerger<MC, CQ>where
for<'a> MC: MergerChunk<TimeOwned: Ord + PartialOrder + Data> + Clone + PushInto<<MC as Container>::Item<'a>> + 'static,
CQ: ContainerQueue<MC>,
impl<MC, CQ> Merger for ContainerMerger<MC, CQ>where
for<'a> MC: MergerChunk<TimeOwned: Ord + PartialOrder + Data> + Clone + PushInto<<MC as Container>::Item<'a>> + 'static,
CQ: ContainerQueue<MC>,
Source§fn account(chunk: &Self::Chunk) -> (usize, usize, usize, usize)
fn account(chunk: &Self::Chunk) -> (usize, usize, usize, usize)
Account the allocations behind the chunk.
Source§type Time = <MC as MergerChunk>::TimeOwned
type Time = <MC as MergerChunk>::TimeOwned
The type of time in frontiers to extract updates.
Auto Trait Implementations§
impl<MC, CQ> Freeze for ContainerMerger<MC, CQ>
impl<MC, CQ> RefUnwindSafe for ContainerMerger<MC, CQ>where
MC: RefUnwindSafe,
CQ: RefUnwindSafe,
impl<MC, CQ> Send for ContainerMerger<MC, CQ>
impl<MC, CQ> Sync for ContainerMerger<MC, CQ>
impl<MC, CQ> Unpin for ContainerMerger<MC, CQ>
impl<MC, CQ> UnwindSafe for ContainerMerger<MC, CQ>where
MC: UnwindSafe,
CQ: UnwindSafe,
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> 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 moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.