pub struct ChannelIndex(/* private fields */);Expand description
Represents the index of a channel in a flow.
This provides a convenient and performant way to access the value at the given channel index when building a new flow.
This type is only returned by the FlowDescriptor when adding a new channel to the
flow ensuring that the index is safe to use.
Trait Implementations§
Source§impl Clone for ChannelIndex
impl Clone for ChannelIndex
Source§fn clone(&self) -> ChannelIndex
fn clone(&self) -> ChannelIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for ChannelIndex
impl Hash for ChannelIndex
Source§impl PartialEq for ChannelIndex
impl PartialEq for ChannelIndex
Source§fn eq(&self, other: &ChannelIndex) -> bool
fn eq(&self, other: &ChannelIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelIndex
impl Eq for ChannelIndex
impl StructuralPartialEq for ChannelIndex
Auto Trait Implementations§
impl Freeze for ChannelIndex
impl RefUnwindSafe for ChannelIndex
impl Send for ChannelIndex
impl Sync for ChannelIndex
impl Unpin for ChannelIndex
impl UnsafeUnpin for ChannelIndex
impl UnwindSafe for ChannelIndex
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<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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> RetryExt for T
impl<T> RetryExt for T
Source§fn retrying(self, cfg: RetryConfig) -> Retrying<Self>
fn retrying(self, cfg: RetryConfig) -> Retrying<Self>
Wraps
self in a Retrying adapter with the given configuration.