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 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<'de> Deserialize<'de> for MessageEvent
impl<'de> Deserialize<'de> for MessageEvent
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<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§impl Serialize for MessageEvent
impl Serialize for MessageEvent
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
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)