pub struct TimelyProgressEvent {
pub is_send: bool,
pub worker: WorkerId,
pub channel: ChannelId,
pub seq_no: usize,
pub addr: OperatorAddr,
pub messages: Vec<MessageUpdate>,
pub internal: Vec<CapabilityUpdate>,
}Fields§
§is_send: booltrue if the event is a send, and false if it is a receive.
worker: WorkerIdSource worker index.
channel: ChannelIdCommunication channel identifier
seq_no: usizeMessage sequence number.
addr: OperatorAddrSequence of nested scope identifiers indicating the path from the root to this instance.
messages: Vec<MessageUpdate>List of message updates containing Target descriptor, timestamp as string, and delta.
internal: Vec<CapabilityUpdate>List of capability updates containing Source descriptor, timestamp as string, and delta.
Implementations§
Source§impl TimelyProgressEvent
impl TimelyProgressEvent
pub fn new( is_send: bool, worker: WorkerId, channel: ChannelId, seq_no: usize, addr: OperatorAddr, messages: Vec<MessageUpdate>, internal: Vec<CapabilityUpdate>, ) -> Self
Trait Implementations§
Source§impl Archive for TimelyProgressEvent
impl Archive for TimelyProgressEvent
Source§type Archived = ArchivedTimelyProgressEvent
type Archived = ArchivedTimelyProgressEvent
The archived representation of this type. Read more
Source§type Resolver = TimelyProgressEventResolver
type Resolver = TimelyProgressEventResolver
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 TimelyProgressEvent
impl Clone for TimelyProgressEvent
Source§fn clone(&self) -> TimelyProgressEvent
fn clone(&self) -> TimelyProgressEvent
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 TimelyProgressEvent
impl Debug for TimelyProgressEvent
Source§impl Default for TimelyProgressEvent
impl Default for TimelyProgressEvent
Source§fn default() -> TimelyProgressEvent
fn default() -> TimelyProgressEvent
Returns the “default value” for a type. Read more
Source§impl<__D: Fallible + ?Sized> Deserialize<TimelyProgressEvent, __D> for Archived<TimelyProgressEvent>where
bool: Archive,
Archived<bool>: Deserialize<bool, __D>,
WorkerId: Archive,
Archived<WorkerId>: Deserialize<WorkerId, __D>,
ChannelId: Archive,
Archived<ChannelId>: Deserialize<ChannelId, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
OperatorAddr: Archive,
Archived<OperatorAddr>: Deserialize<OperatorAddr, __D>,
Vec<MessageUpdate>: Archive,
Archived<Vec<MessageUpdate>>: Deserialize<Vec<MessageUpdate>, __D>,
Vec<CapabilityUpdate>: Archive,
Archived<Vec<CapabilityUpdate>>: Deserialize<Vec<CapabilityUpdate>, __D>,
impl<__D: Fallible + ?Sized> Deserialize<TimelyProgressEvent, __D> for Archived<TimelyProgressEvent>where
bool: Archive,
Archived<bool>: Deserialize<bool, __D>,
WorkerId: Archive,
Archived<WorkerId>: Deserialize<WorkerId, __D>,
ChannelId: Archive,
Archived<ChannelId>: Deserialize<ChannelId, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
OperatorAddr: Archive,
Archived<OperatorAddr>: Deserialize<OperatorAddr, __D>,
Vec<MessageUpdate>: Archive,
Archived<Vec<MessageUpdate>>: Deserialize<Vec<MessageUpdate>, __D>,
Vec<CapabilityUpdate>: Archive,
Archived<Vec<CapabilityUpdate>>: Deserialize<Vec<CapabilityUpdate>, __D>,
Source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<TimelyProgressEvent, __D::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<TimelyProgressEvent, __D::Error>
Deserializes using the given deserializer
Source§impl From<TimelyProgressEvent> for TimelyProgressEvent
impl From<TimelyProgressEvent> for TimelyProgressEvent
Source§fn from(event: RawTimelyProgressEvent) -> Self
fn from(event: RawTimelyProgressEvent) -> Self
Converts to this type from the input type.
Source§impl Hash for TimelyProgressEvent
impl Hash for TimelyProgressEvent
Source§impl Ord for TimelyProgressEvent
impl Ord for TimelyProgressEvent
Source§fn cmp(&self, other: &TimelyProgressEvent) -> Ordering
fn cmp(&self, other: &TimelyProgressEvent) -> 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 TimelyProgressEvent
impl PartialEq for TimelyProgressEvent
Source§impl PartialOrd for TimelyProgressEvent
impl PartialOrd for TimelyProgressEvent
impl Eq for TimelyProgressEvent
impl StructuralPartialEq for TimelyProgressEvent
Auto Trait Implementations§
impl Freeze for TimelyProgressEvent
impl RefUnwindSafe for TimelyProgressEvent
impl Send for TimelyProgressEvent
impl Sync for TimelyProgressEvent
impl Unpin for TimelyProgressEvent
impl UnwindSafe for TimelyProgressEvent
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.