pub struct AcceptUnboundedReceiver<C, O, I>(/* private fields */);Expand description
A wrapper around an mpsc::UnboundedReceiver of connections
Trait Implementations§
Source§impl<C, O, I> Accept for &AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> Accept for &AcceptUnboundedReceiver<C, O, I>
Source§impl<C, O, I> Accept for AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> Accept for AcceptUnboundedReceiver<C, O, I>
Source§impl<C, O, I> From<UnboundedReceiver<(C, O, I)>> for AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> From<UnboundedReceiver<(C, O, I)>> for AcceptUnboundedReceiver<C, O, I>
Source§fn from(stream: UnboundedReceiver<(C, O, I)>) -> Self
fn from(stream: UnboundedReceiver<(C, O, I)>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<C, O, I> !Freeze for AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> !RefUnwindSafe for AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> Send for AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> Sync for AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> Unpin for AcceptUnboundedReceiver<C, O, I>
impl<C, O, I> UnwindSafe for AcceptUnboundedReceiver<C, O, I>
Blanket Implementations§
Source§impl<T> AcceptExt for Twhere
T: Accept,
impl<T> AcceptExt for Twhere
T: Accept,
Source§fn map_context<T, F: Fn(Self::Context) -> T>(
self,
f: F,
) -> AcceptMapContext<Self, F>
fn map_context<T, F: Fn(Self::Context) -> T>( self, f: F, ) -> AcceptMapContext<Self, F>
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