pub struct MpscListener<T: Send> { /* private fields */ }
Expand description
Represents a Listener
that uses an mpsc::Receiver
to
accept new connections
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for MpscListener<T>
impl<T> RefUnwindSafe for MpscListener<T>
impl<T> Send for MpscListener<T>
impl<T> Sync for MpscListener<T>
impl<T> Unpin for MpscListener<T>
impl<T> UnwindSafe for MpscListener<T>
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