pub struct ChannelsEvent {
pub id: usize,
pub scope_addr: Vec<usize>,
pub source: (usize, usize),
pub target: (usize, usize),
pub typ: String,
}
Expand description
The creation of a channel between operators.
Fields§
§id: usize
Worker-unique identifier for the channel
scope_addr: Vec<usize>
Sequence of nested scope identifiers indicating the path from the root to this instance.
source: (usize, usize)
Source descriptor, indicating operator index and output port.
target: (usize, usize)
Target descriptor, indicating operator index and input port.
typ: String
The type of data on the channel, as a string.
Trait Implementations§
Source§impl Clone for ChannelsEvent
impl Clone for ChannelsEvent
Source§fn clone(&self) -> ChannelsEvent
fn clone(&self) -> ChannelsEvent
Returns a duplicate 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 ChannelsEvent
impl Columnar for ChannelsEvent
Source§type Container = ChannelsEventContainer<<usize as Columnar>::Container, <Vec<usize> as Columnar>::Container, <(usize, usize) as Columnar>::Container, <(usize, usize) as Columnar>::Container, <String as Columnar>::Container>
type Container = ChannelsEventContainer<<usize as Columnar>::Container, <Vec<usize> as Columnar>::Container, <(usize, usize) as Columnar>::Container, <(usize, usize) as Columnar>::Container, <String as Columnar>::Container>
The type that stores the columnar representation. Read more
Source§fn copy_from<'a>(&mut self, other: Ref<'a, Self>)
fn copy_from<'a>(&mut self, other: Ref<'a, Self>)
Repopulates
self
from a reference. Read moreSource§fn into_owned<'a>(other: Ref<'a, Self>) -> Self
fn into_owned<'a>(other: Ref<'a, Self>) -> Self
Produce an instance of
Self
from Self::Ref<'a>
.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 Debug for ChannelsEvent
impl Debug for ChannelsEvent
Source§impl<'de> Deserialize<'de> for ChannelsEvent
impl<'de> Deserialize<'de> for ChannelsEvent
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<ChannelsEvent> for TimelyEvent
impl From<ChannelsEvent> for TimelyEvent
Source§fn from(v: ChannelsEvent) -> TimelyEvent
fn from(v: ChannelsEvent) -> TimelyEvent
Converts to this type from the input type.
Source§impl Hash for ChannelsEvent
impl Hash for ChannelsEvent
Source§impl Ord for ChannelsEvent
impl Ord for ChannelsEvent
Source§fn cmp(&self, other: &ChannelsEvent) -> Ordering
fn cmp(&self, other: &ChannelsEvent) -> 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> PartialEq<ChannelsEvent> for ChannelsEventReference<R0, R1, R2, R3, R4>
impl<R0, R1, R2, R3, R4> PartialEq<ChannelsEvent> for ChannelsEventReference<R0, R1, R2, R3, R4>
Source§impl PartialEq for ChannelsEvent
impl PartialEq for ChannelsEvent
Source§impl PartialOrd for ChannelsEvent
impl PartialOrd for ChannelsEvent
Source§impl<'columnar, C0, C1, C2, C3, C4> Push<&'columnar ChannelsEvent> for ChannelsEventContainer<C0, C1, C2, C3, C4>
impl<'columnar, C0, C1, C2, C3, C4> Push<&'columnar ChannelsEvent> for ChannelsEventContainer<C0, C1, C2, C3, C4>
Source§fn push(&mut self, item: &'columnar ChannelsEvent)
fn push(&mut self, item: &'columnar ChannelsEvent)
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> Push<ChannelsEvent> for ChannelsEventContainer<C0, C1, C2, C3, C4>
impl<C0, C1, C2, C3, C4> Push<ChannelsEvent> for ChannelsEventContainer<C0, C1, C2, C3, C4>
Source§fn push(&mut self, item: ChannelsEvent)
fn push(&mut self, item: ChannelsEvent)
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 ChannelsEvent
impl Serialize for ChannelsEvent
impl Eq for ChannelsEvent
impl StructuralPartialEq for ChannelsEvent
Auto Trait Implementations§
impl Freeze for ChannelsEvent
impl RefUnwindSafe for ChannelsEvent
impl Send for ChannelsEvent
impl Sync for ChannelsEvent
impl Unpin for ChannelsEvent
impl UnwindSafe for ChannelsEvent
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more