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 Columnar for MessagesEvent
impl Columnar for MessagesEvent
§type Ref<'a> = MessagesEventReference<<bool as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>>
where
bool: 'a,
usize: 'a
type Ref<'a> = MessagesEventReference<<bool as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>, <usize as Columnar>::Ref<'a>> where bool: 'a, usize: 'a
For each lifetime, a reference with that lifetime. Read more
source§fn copy_from<'a>(&mut self, other: Self::Ref<'a>)
fn copy_from<'a>(&mut self, other: Self::Ref<'a>)
Repopulates
self
from a reference. Read moresource§fn into_owned<'a>(other: Self::Ref<'a>) -> Self
fn into_owned<'a>(other: Self::Ref<'a>) -> Self
Produce an instance of
Self
from Self::Ref<'a>
.§type Container = MessagesEventContainer<<bool as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container>
type Container = MessagesEventContainer<<bool as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container>
The type that stores the columnar representation. Read more
source§fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
Converts a sequence of the references to the type into columnar form.
source§fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
Converts a sequence of the type into columnar form. Read more
source§impl Container<MessagesEvent> for MessagesEventContainer<<bool as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container>
impl Container<MessagesEvent> for MessagesEventContainer<<bool as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container, <usize as Columnar>::Container>
§type Borrowed<'a> = MessagesEventContainer<<<bool as Columnar>::Container as Container<bool>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>>
where
bool: 'a,
usize: 'a
type Borrowed<'a> = MessagesEventContainer<<<bool as Columnar>::Container as Container<bool>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>, <<usize as Columnar>::Container as Container<usize>>::Borrowed<'a>> where bool: 'a, usize: 'a
The type of a borrowed container. Read more
source§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<R0, R1, R2, R3, R4, R5> PartialEq<MessagesEvent> for MessagesEventReference<R0, R1, R2, R3, R4, R5>
impl<R0, R1, R2, R3, R4, R5> PartialEq<MessagesEvent> for MessagesEventReference<R0, R1, R2, R3, R4, R5>
source§impl PartialEq for MessagesEvent
impl PartialEq for MessagesEvent
source§impl PartialOrd for MessagesEvent
impl PartialOrd for MessagesEvent
source§impl<'columnar, C0, C1, C2, C3, C4, C5> Push<&'columnar MessagesEvent> for MessagesEventContainer<C0, C1, C2, C3, C4, C5>
impl<'columnar, C0, C1, C2, C3, C4, C5> Push<&'columnar MessagesEvent> for MessagesEventContainer<C0, C1, C2, C3, C4, C5>
source§fn push(&mut self, item: &'columnar MessagesEvent)
fn push(&mut self, item: &'columnar MessagesEvent)
Pushes an item onto
self
.source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.source§impl<C0, C1, C2, C3, C4, C5> Push<MessagesEvent> for MessagesEventContainer<C0, C1, C2, C3, C4, C5>
impl<C0, C1, C2, C3, C4, C5> Push<MessagesEvent> for MessagesEventContainer<C0, C1, C2, C3, C4, C5>
source§fn push(&mut self, item: MessagesEvent)
fn push(&mut self, item: MessagesEvent)
Pushes an item onto
self
.source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.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
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.