pub enum ChannelBinding {
Sink(Arc<dyn ChannelSink>),
Receiver(Receiver<IncomingChannelMessage>),
}Expand description
The binding stored in a channel core — either a sink or a receiver, never both.
Variants§
Sink(Arc<dyn ChannelSink>)
Receiver(Receiver<IncomingChannelMessage>)
Auto Trait Implementations§
impl Freeze for ChannelBinding
impl !RefUnwindSafe for ChannelBinding
impl Send for ChannelBinding
impl Sync for ChannelBinding
impl Unpin for ChannelBinding
impl UnsafeUnpin for ChannelBinding
impl !UnwindSafe for ChannelBinding
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