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 Abomonation for DifferentialEvent
impl Abomonation for DifferentialEvent
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 Debug for DifferentialEvent
impl Debug for DifferentialEvent
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§fn eq(&self, other: &DifferentialEvent) -> bool
fn eq(&self, other: &DifferentialEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DifferentialEvent
impl PartialOrd for DifferentialEvent
source§fn partial_cmp(&self, other: &DifferentialEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &DifferentialEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.