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 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 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> PreferredContainer for T
impl<T> PreferredContainer for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp 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
.