Struct timely_communication::logging::MessageEvent
source · pub struct MessageEvent {
pub is_send: bool,
pub header: MessageHeader,
}
Expand description
An observed message.
Fields§
§is_send: bool
true for send event, false for receive event
header: MessageHeader
associated message header.
Trait Implementations§
source§impl Abomonation for MessageEvent
impl Abomonation for MessageEvent
source§impl Clone for MessageEvent
impl Clone for MessageEvent
source§fn clone(&self) -> MessageEvent
fn clone(&self) -> MessageEvent
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 MessageEvent
impl Debug for MessageEvent
source§impl From<MessageEvent> for CommunicationEvent
impl From<MessageEvent> for CommunicationEvent
source§fn from(v: MessageEvent) -> CommunicationEvent
fn from(v: MessageEvent) -> CommunicationEvent
Converts to this type from the input type.
source§impl Hash for MessageEvent
impl Hash for MessageEvent
source§impl PartialEq for MessageEvent
impl PartialEq for MessageEvent
source§fn eq(&self, other: &MessageEvent) -> bool
fn eq(&self, other: &MessageEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MessageEvent
impl Eq for MessageEvent
impl StructuralPartialEq for MessageEvent
Auto Trait Implementations§
impl Freeze for MessageEvent
impl RefUnwindSafe for MessageEvent
impl Send for MessageEvent
impl Sync for MessageEvent
impl Unpin for MessageEvent
impl UnwindSafe for MessageEvent
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