pub struct BatcherEvent {
pub operator: usize,
pub records_diff: isize,
pub size_diff: isize,
pub capacity_diff: isize,
pub allocations_diff: isize,
}
Expand description
Either the start or end of a merge event.
Fields§
§operator: usize
Operator identifier.
records_diff: isize
Change in records.
size_diff: isize
Change in used size.
capacity_diff: isize
Change in capacity.
allocations_diff: isize
Change in number of allocations.
Trait Implementations§
Source§impl Clone for BatcherEvent
impl Clone for BatcherEvent
Source§fn clone(&self) -> BatcherEvent
fn clone(&self) -> BatcherEvent
Returns a copy 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 Columnar for BatcherEvent
impl Columnar for BatcherEvent
Source§type Ref<'a> = BatcherEventReference<<usize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>>
where
usize: 'a,
isize: 'a
type Ref<'a> = BatcherEventReference<<usize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>, <isize as Columnar>::Ref<'a>> where usize: 'a, isize: 'a
For each lifetime, a reference with that lifetime. Read more
Source§type Container = BatcherEventContainer<<usize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container>
type Container = BatcherEventContainer<<usize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container>
The type that stores the columnar representation. Read more
Source§fn copy_from<'a>(&mut self, other: Self::Ref<'a>)
fn copy_from<'a>(&mut self, other: Self::Ref<'a>)
Repopulates
self
from a reference. Read moreSource§fn into_owned<'a>(other: Self::Ref<'a>) -> Self
fn into_owned<'a>(other: Self::Ref<'a>) -> Self
Produce an instance of
Self
from Self::Ref<'a>
.Source§fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
Converts a sequence of the references to the type into columnar form.
Source§fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
Converts a sequence of the type into columnar form. Read more
Source§impl Container<BatcherEvent> for BatcherEventContainer<<usize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container>
impl Container<BatcherEvent> for BatcherEventContainer<<usize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container, <isize as Columnar>::Container>
Source§type Borrowed<'a> = BatcherEventContainer<<<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>>
where
usize: 'a,
isize: 'a
type Borrowed<'a> = BatcherEventContainer<<<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>, <<isize as Columnar>::Container as Container<isize>>::Borrowed<'a>> where usize: 'a, isize: 'a
The type of a borrowed container. Read more
Source§impl Debug for BatcherEvent
impl Debug for BatcherEvent
Source§impl<'de> Deserialize<'de> for BatcherEvent
impl<'de> Deserialize<'de> for BatcherEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BatcherEvent> for DifferentialEvent
impl From<BatcherEvent> for DifferentialEvent
Source§fn from(e: BatcherEvent) -> Self
fn from(e: BatcherEvent) -> Self
Converts to this type from the input type.
Source§impl Ord for BatcherEvent
impl Ord for BatcherEvent
Source§fn cmp(&self, other: &BatcherEvent) -> Ordering
fn cmp(&self, other: &BatcherEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<R0, R1, R2, R3, R4> PartialEq<BatcherEvent> for BatcherEventReference<R0, R1, R2, R3, R4>
impl<R0, R1, R2, R3, R4> PartialEq<BatcherEvent> for BatcherEventReference<R0, R1, R2, R3, R4>
Source§impl PartialEq for BatcherEvent
impl PartialEq for BatcherEvent
Source§impl PartialOrd for BatcherEvent
impl PartialOrd for BatcherEvent
Source§impl<'columnar, C0, C1, C2, C3, C4> Push<&'columnar BatcherEvent> for BatcherEventContainer<C0, C1, C2, C3, C4>
impl<'columnar, C0, C1, C2, C3, C4> Push<&'columnar BatcherEvent> for BatcherEventContainer<C0, C1, C2, C3, C4>
Source§fn push(&mut self, item: &'columnar BatcherEvent)
fn push(&mut self, item: &'columnar BatcherEvent)
Pushes an item onto
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.Source§impl<C0, C1, C2, C3, C4> Push<BatcherEvent> for BatcherEventContainer<C0, C1, C2, C3, C4>
impl<C0, C1, C2, C3, C4> Push<BatcherEvent> for BatcherEventContainer<C0, C1, C2, C3, C4>
Source§fn push(&mut self, item: BatcherEvent)
fn push(&mut self, item: BatcherEvent)
Pushes an item onto
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.Source§impl Serialize for BatcherEvent
impl Serialize for BatcherEvent
impl Eq for BatcherEvent
impl StructuralPartialEq for BatcherEvent
Auto Trait Implementations§
impl Freeze for BatcherEvent
impl RefUnwindSafe for BatcherEvent
impl Send for BatcherEvent
impl Sync for BatcherEvent
impl Unpin for BatcherEvent
impl UnwindSafe for BatcherEvent
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> PreferredContainer for T
impl<T> PreferredContainer for T
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
.