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