pub struct ChannelsEvent {
pub id: usize,
pub scope_addr: Vec<usize>,
pub source: (usize, usize),
pub target: (usize, usize),
}
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.
Trait Implementations§
Source§impl Clone for ChannelsEvent
impl Clone for ChannelsEvent
Source§fn clone(&self) -> ChannelsEvent
fn clone(&self) -> ChannelsEvent
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 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 PartialEq for ChannelsEvent
impl PartialEq for ChannelsEvent
Source§impl PartialOrd for ChannelsEvent
impl PartialOrd for ChannelsEvent
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§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
)