pub struct ChannelStream<T> { /* private fields */ }Expand description
A Stream of the items another thread sends: the async side of a
stream that Offload or Blocking moves between threads.
Dropping it tells the sending side to stop.
Trait Implementations§
Source§impl<T: Debug> Debug for ChannelStream<T>
impl<T: Debug> Debug for ChannelStream<T>
Source§impl<T> Stream for ChannelStream<T>
impl<T> Stream for ChannelStream<T>
Auto Trait Implementations§
impl<T> Freeze for ChannelStream<T>
impl<T> RefUnwindSafe for ChannelStream<T>where
Receiver<T>: RefUnwindSafe,
impl<T> Send for ChannelStream<T>
impl<T> Sync for ChannelStream<T>
impl<T> Unpin for ChannelStream<T>
impl<T> UnsafeUnpin for ChannelStream<T>where
Receiver<T>: UnsafeUnpin,
impl<T> UnwindSafe for ChannelStream<T>where
Receiver<T>: UnwindSafe,
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