pub struct TransportReceiver<T: StreamReceiverAdapterAbstract> { /* private fields */ }
Implementations§
Source§impl<T: StreamReceiverAdapterAbstract> Receiver<T>
impl<T: StreamReceiverAdapterAbstract> Receiver<T>
pub fn get_adapter(&self) -> Arc<T>
pub fn close(&self)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Receiver<T>
impl<T> RefUnwindSafe for Receiver<T>where
T: RefUnwindSafe,
impl<T> Send for Receiver<T>
impl<T> Sync for Receiver<T>
impl<T> Unpin for Receiver<T>
impl<T> UnwindSafe for Receiver<T>where
T: RefUnwindSafe,
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