Struct timely::logging::MessagesEvent
source · pub struct MessagesEvent {
pub is_send: bool,
pub channel: usize,
pub source: usize,
pub target: usize,
pub seq_no: usize,
pub length: usize,
}
Expand description
Message send or receive event
Fields§
§is_send: bool
true
if send event, false
if receive event.
channel: usize
Channel identifier
source: usize
Source worker index.
target: usize
Target worker index.
seq_no: usize
Message sequence number.
length: usize
Number of typed records in the message.
Trait Implementations§
source§impl Abomonation for MessagesEvent
impl Abomonation for MessagesEvent
source§impl Clone for MessagesEvent
impl Clone for MessagesEvent
source§fn clone(&self) -> MessagesEvent
fn clone(&self) -> MessagesEvent
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 MessagesEvent
impl Debug for MessagesEvent
source§impl<'de> Deserialize<'de> for MessagesEvent
impl<'de> Deserialize<'de> for MessagesEvent
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<MessagesEvent> for TimelyEvent
impl From<MessagesEvent> for TimelyEvent
source§fn from(v: MessagesEvent) -> TimelyEvent
fn from(v: MessagesEvent) -> TimelyEvent
Converts to this type from the input type.
source§impl Hash for MessagesEvent
impl Hash for MessagesEvent
source§impl Ord for MessagesEvent
impl Ord for MessagesEvent
source§fn cmp(&self, other: &MessagesEvent) -> Ordering
fn cmp(&self, other: &MessagesEvent) -> 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 MessagesEvent
impl PartialEq for MessagesEvent
source§fn eq(&self, other: &MessagesEvent) -> bool
fn eq(&self, other: &MessagesEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MessagesEvent
impl PartialOrd for MessagesEvent
source§fn partial_cmp(&self, other: &MessagesEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &MessagesEvent) -> 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 moresource§impl Serialize for MessagesEvent
impl Serialize for MessagesEvent
impl Eq for MessagesEvent
impl StructuralPartialEq for MessagesEvent
Auto Trait Implementations§
impl Freeze for MessagesEvent
impl RefUnwindSafe for MessagesEvent
impl Send for MessagesEvent
impl Sync for MessagesEvent
impl Unpin for MessagesEvent
impl UnwindSafe for MessagesEvent
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.