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 + Clone + PushInto<<MC as Container>::Item<'a>> + 'static,
for<'a> MC::TimeOwned: Ord + PartialOrder + Data,
CQ: ContainerQueue<MC>,
impl<MC, CQ> Merger for ContainerMerger<MC, CQ>where
for<'a> MC: MergerChunk + Clone + PushInto<<MC as Container>::Item<'a>> + 'static,
for<'a> MC::TimeOwned: Ord + PartialOrder + Data,
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<'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
.