pub enum DifferentialEvent {
Batch(BatchEvent),
Merge(MergeEvent),
Drop(DropEvent),
MergeShortfall(MergeShortfall),
TraceShare(TraceShare),
}Expand description
Differential dataflow 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.
Implementations§
Source§impl DifferentialEvent
impl DifferentialEvent
Sourcepub const fn is_merge_shortfall(&self) -> bool
pub const fn is_merge_shortfall(&self) -> bool
Returns true if the differential_event is MergeShortfall.
Returns true if the differential_event is TraceShare.
Trait Implementations§
Source§impl Archive for DifferentialEventwhere
BatchEvent: Archive,
MergeEvent: Archive,
DropEvent: Archive,
MergeShortfall: Archive,
TraceShare: Archive,
impl Archive for DifferentialEventwhere
BatchEvent: Archive,
MergeEvent: Archive,
DropEvent: Archive,
MergeShortfall: Archive,
TraceShare: Archive,
Source§type Archived = ArchivedDifferentialEvent
type Archived = ArchivedDifferentialEvent
The archived representation of this type. Read more
Source§type Resolver = DifferentialEventResolver
type Resolver = DifferentialEventResolver
The resolver for this type. It must contain all the additional information from serializing
needed to make the archived type from the normal type.
Source§impl Clone for DifferentialEvent
impl Clone for DifferentialEvent
Source§fn clone(&self) -> DifferentialEvent
fn clone(&self) -> DifferentialEvent
Returns a duplicate 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<__D: Fallible + ?Sized> Deserialize<DifferentialEvent, __D> for Archived<DifferentialEvent>where
BatchEvent: Archive,
Archived<BatchEvent>: Deserialize<BatchEvent, __D>,
MergeEvent: Archive,
Archived<MergeEvent>: Deserialize<MergeEvent, __D>,
DropEvent: Archive,
Archived<DropEvent>: Deserialize<DropEvent, __D>,
MergeShortfall: Archive,
Archived<MergeShortfall>: Deserialize<MergeShortfall, __D>,
TraceShare: Archive,
Archived<TraceShare>: Deserialize<TraceShare, __D>,
impl<__D: Fallible + ?Sized> Deserialize<DifferentialEvent, __D> for Archived<DifferentialEvent>where
BatchEvent: Archive,
Archived<BatchEvent>: Deserialize<BatchEvent, __D>,
MergeEvent: Archive,
Archived<MergeEvent>: Deserialize<MergeEvent, __D>,
DropEvent: Archive,
Archived<DropEvent>: Deserialize<DropEvent, __D>,
MergeShortfall: Archive,
Archived<MergeShortfall>: Deserialize<MergeShortfall, __D>,
TraceShare: Archive,
Archived<TraceShare>: Deserialize<TraceShare, __D>,
Source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<DifferentialEvent, __D::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<DifferentialEvent, __D::Error>
Deserializes using the given deserializer
Source§impl From<BatchEvent> for DifferentialEvent
impl From<BatchEvent> for DifferentialEvent
Source§fn from(batch: BatchEvent) -> Self
fn from(batch: BatchEvent) -> Self
Converts to this type from the input type.
Source§impl From<DifferentialEvent> for DifferentialEvent
impl From<DifferentialEvent> for DifferentialEvent
Source§fn from(event: RawDifferentialEvent) -> Self
fn from(event: RawDifferentialEvent) -> Self
Converts to this type from the input type.
Source§impl From<DifferentialEvent> for DifferentialEvent
impl From<DifferentialEvent> for DifferentialEvent
Source§fn from(event: DifferentialEvent) -> Self
fn from(event: DifferentialEvent) -> Self
Converts to this type from the input type.
Source§impl From<MergeEvent> for DifferentialEvent
impl From<MergeEvent> for DifferentialEvent
Source§fn from(merge: MergeEvent) -> Self
fn from(merge: MergeEvent) -> Self
Converts to this type from the input type.
Source§impl From<MergeShortfall> for DifferentialEvent
impl From<MergeShortfall> for DifferentialEvent
Source§fn from(shortfall: MergeShortfall) -> Self
fn from(shortfall: MergeShortfall) -> Self
Converts to this type from the input type.
Source§fn from(share: TraceShare) -> Self
fn from(share: TraceShare) -> Self
Converts to this type from the input type.
Source§impl Hash for DifferentialEvent
impl Hash for DifferentialEvent
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<__S: Fallible + ?Sized> Serialize<__S> for DifferentialEventwhere
BatchEvent: Serialize<__S>,
MergeEvent: Serialize<__S>,
DropEvent: Serialize<__S>,
MergeShortfall: Serialize<__S>,
TraceShare: Serialize<__S>,
impl<__S: Fallible + ?Sized> Serialize<__S> for DifferentialEventwhere
BatchEvent: Serialize<__S>,
MergeEvent: Serialize<__S>,
DropEvent: Serialize<__S>,
MergeShortfall: Serialize<__S>,
TraceShare: Serialize<__S>,
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> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be unsized. Read moreSource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
Source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: *const T) -> Layout
fn layout_raw(_: *const T) -> Layout
Gets the layout of the type.