pub struct ChannelConfiguration<Tr, S> { /* private fields */ }Expand description
The configuration of a network channel as the host acknowledges it: the transport Tr and
serialization S of its network config, which must match the channel’s exactly (see
EmbeddedNetworkChannel). It is built from the same network config value the dataflow
sends with; the config’s name is ignored.
Implementations§
Source§impl<Tr, S> ChannelConfiguration<Tr, S>
impl<Tr, S> ChannelConfiguration<Tr, S>
Sourcepub fn new<Name>(config: NetworkingConfig<Tr, S, Name>) -> Self
pub fn new<Name>(config: NetworkingConfig<Tr, S, Name>) -> Self
Acknowledges a channel configured with config, the same network config the dataflow
sends with (for example TCP.fail_stop().bincode()).
Auto Trait Implementations§
impl<Tr, S> Freeze for ChannelConfiguration<Tr, S>
impl<Tr, S> RefUnwindSafe for ChannelConfiguration<Tr, S>
impl<Tr, S> Send for ChannelConfiguration<Tr, S>
impl<Tr, S> Sync for ChannelConfiguration<Tr, S>
impl<Tr, S> Unpin for ChannelConfiguration<Tr, S>
impl<Tr, S> UnsafeUnpin for ChannelConfiguration<Tr, S>
impl<Tr, S> UnwindSafe for ChannelConfiguration<Tr, S>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 moreCreates a shared type from an unshared type.