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 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§impl PartialOrd for MessagesEvent
impl PartialOrd for MessagesEvent
source§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<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
)