pub enum DifferentialEvent {
Batch(BatchEvent),
Merge(MergeEvent),
Drop(DropEvent),
MergeShortfall(MergeShortfall),
TraceShare(TraceShare),
Batcher(BatcherEvent),
}
Expand description
Possible different differential events.
Variants§
Batch(BatchEvent)
Batch creation.
Merge(MergeEvent)
Merge start and stop events.
Drop(DropEvent)
Batch dropped when trace dropped.
MergeShortfall(MergeShortfall)
A merge failed to complete in time.
Trace sharing event.
Batcher(BatcherEvent)
Batcher size event
Trait Implementations§
Source§impl Clone for DifferentialEvent
impl Clone for DifferentialEvent
Source§fn clone(&self) -> DifferentialEvent
fn clone(&self) -> DifferentialEvent
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 DifferentialEventwhere
BatchEvent: Columnar,
MergeEvent: Columnar,
DropEvent: Columnar,
MergeShortfall: Columnar,
TraceShare: Columnar,
BatcherEvent: Columnar,
impl Columnar for DifferentialEventwhere
BatchEvent: Columnar,
MergeEvent: Columnar,
DropEvent: Columnar,
MergeShortfall: Columnar,
TraceShare: Columnar,
BatcherEvent: Columnar,
Source§type Ref<'a> = DifferentialEventReference<<BatchEvent as Columnar>::Ref<'a>, <MergeEvent as Columnar>::Ref<'a>, <DropEvent as Columnar>::Ref<'a>, <MergeShortfall as Columnar>::Ref<'a>, <TraceShare as Columnar>::Ref<'a>, <BatcherEvent as Columnar>::Ref<'a>>
where
Self: 'a,
BatchEvent: 'a,
MergeEvent: 'a,
DropEvent: 'a,
MergeShortfall: 'a,
TraceShare: 'a,
BatcherEvent: 'a
type Ref<'a> = DifferentialEventReference<<BatchEvent as Columnar>::Ref<'a>, <MergeEvent as Columnar>::Ref<'a>, <DropEvent as Columnar>::Ref<'a>, <MergeShortfall as Columnar>::Ref<'a>, <TraceShare as Columnar>::Ref<'a>, <BatcherEvent as Columnar>::Ref<'a>> where Self: 'a, BatchEvent: 'a, MergeEvent: 'a, DropEvent: 'a, MergeShortfall: 'a, TraceShare: 'a, BatcherEvent: 'a
For each lifetime, a reference with that lifetime. Read more
Source§type Container = DifferentialEventContainer<<BatchEvent as Columnar>::Container, <MergeEvent as Columnar>::Container, <DropEvent as Columnar>::Container, <MergeShortfall as Columnar>::Container, <TraceShare as Columnar>::Container, <BatcherEvent as Columnar>::Container>
type Container = DifferentialEventContainer<<BatchEvent as Columnar>::Container, <MergeEvent as Columnar>::Container, <DropEvent as Columnar>::Container, <MergeShortfall as Columnar>::Container, <TraceShare as Columnar>::Container, <BatcherEvent 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§type Borrowed<'a> = DifferentialEventContainer<<<BatchEvent as Columnar>::Container as Container<BatchEvent>>::Borrowed<'a>, <<MergeEvent as Columnar>::Container as Container<MergeEvent>>::Borrowed<'a>, <<DropEvent as Columnar>::Container as Container<DropEvent>>::Borrowed<'a>, <<MergeShortfall as Columnar>::Container as Container<MergeShortfall>>::Borrowed<'a>, <<TraceShare as Columnar>::Container as Container<TraceShare>>::Borrowed<'a>, <<BatcherEvent as Columnar>::Container as Container<BatcherEvent>>::Borrowed<'a>, &'a [u8], &'a [u64]>
where
BatchEvent: 'a,
MergeEvent: 'a,
DropEvent: 'a,
MergeShortfall: 'a,
TraceShare: 'a,
BatcherEvent: 'a
type Borrowed<'a> = DifferentialEventContainer<<<BatchEvent as Columnar>::Container as Container<BatchEvent>>::Borrowed<'a>, <<MergeEvent as Columnar>::Container as Container<MergeEvent>>::Borrowed<'a>, <<DropEvent as Columnar>::Container as Container<DropEvent>>::Borrowed<'a>, <<MergeShortfall as Columnar>::Container as Container<MergeShortfall>>::Borrowed<'a>, <<TraceShare as Columnar>::Container as Container<TraceShare>>::Borrowed<'a>, <<BatcherEvent as Columnar>::Container as Container<BatcherEvent>>::Borrowed<'a>, &'a [u8], &'a [u64]> where BatchEvent: 'a, MergeEvent: 'a, DropEvent: 'a, MergeShortfall: 'a, TraceShare: 'a, BatcherEvent: 'a
The type of a borrowed container. Read more
Source§impl Debug for DifferentialEvent
impl Debug for DifferentialEvent
Source§impl<'de> Deserialize<'de> for DifferentialEvent
impl<'de> Deserialize<'de> for DifferentialEvent
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<BatchEvent> for DifferentialEvent
impl From<BatchEvent> for DifferentialEvent
Source§fn from(e: BatchEvent) -> Self
fn from(e: BatchEvent) -> Self
Converts to this type from the input type.
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 From<DropEvent> for DifferentialEvent
impl From<DropEvent> for DifferentialEvent
Source§impl From<MergeEvent> for DifferentialEvent
impl From<MergeEvent> for DifferentialEvent
Source§fn from(e: MergeEvent) -> Self
fn from(e: MergeEvent) -> Self
Converts to this type from the input type.
Source§impl From<MergeShortfall> for DifferentialEvent
impl From<MergeShortfall> for DifferentialEvent
Source§fn from(e: MergeShortfall) -> Self
fn from(e: MergeShortfall) -> Self
Converts to this type from the input type.
Source§fn from(e: TraceShare) -> Self
fn from(e: TraceShare) -> Self
Converts to this type from the input type.
Source§impl Ord for DifferentialEvent
impl Ord for DifferentialEvent
Source§fn cmp(&self, other: &DifferentialEvent) -> Ordering
fn cmp(&self, other: &DifferentialEvent) -> 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 PartialEq for DifferentialEvent
impl PartialEq for DifferentialEvent
Source§impl PartialOrd for DifferentialEvent
impl PartialOrd for DifferentialEvent
Source§impl<'columnar, C0, C1, C2, C3, C4, C5> Push<&'columnar DifferentialEvent> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>where
C0: Len + Push<&'columnar BatchEvent>,
C1: Len + Push<&'columnar MergeEvent>,
C2: Len + Push<&'columnar DropEvent>,
C3: Len + Push<&'columnar MergeShortfall>,
C4: Len + Push<&'columnar TraceShare>,
C5: Len + Push<&'columnar BatcherEvent>,
impl<'columnar, C0, C1, C2, C3, C4, C5> Push<&'columnar DifferentialEvent> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>where
C0: Len + Push<&'columnar BatchEvent>,
C1: Len + Push<&'columnar MergeEvent>,
C2: Len + Push<&'columnar DropEvent>,
C3: Len + Push<&'columnar MergeShortfall>,
C4: Len + Push<&'columnar TraceShare>,
C5: Len + Push<&'columnar BatcherEvent>,
Source§fn push(&mut self, item: &'columnar DifferentialEvent)
fn push(&mut self, item: &'columnar DifferentialEvent)
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, C5> Push<DifferentialEvent> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>where
C0: Len + Push<BatchEvent>,
C1: Len + Push<MergeEvent>,
C2: Len + Push<DropEvent>,
C3: Len + Push<MergeShortfall>,
C4: Len + Push<TraceShare>,
C5: Len + Push<BatcherEvent>,
impl<C0, C1, C2, C3, C4, C5> Push<DifferentialEvent> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>where
C0: Len + Push<BatchEvent>,
C1: Len + Push<MergeEvent>,
C2: Len + Push<DropEvent>,
C3: Len + Push<MergeShortfall>,
C4: Len + Push<TraceShare>,
C5: Len + Push<BatcherEvent>,
Source§fn push(&mut self, item: DifferentialEvent)
fn push(&mut self, item: DifferentialEvent)
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 DifferentialEvent
impl Serialize for DifferentialEvent
impl Eq for DifferentialEvent
impl StructuralPartialEq for DifferentialEvent
Auto Trait Implementations§
impl Freeze for DifferentialEvent
impl RefUnwindSafe for DifferentialEvent
impl Send for DifferentialEvent
impl Sync for DifferentialEvent
impl Unpin for DifferentialEvent
impl UnwindSafe for DifferentialEvent
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
.