Struct futures_util::stream::SplitStream [−][src]
pub struct SplitStream<S>(_);
This is supported on crate feature
sink
only.Expand description
A Stream
part of the split pair
Implementations
Attempts to put the two “halves” of a split Stream + Sink
back
together. Succeeds only if the SplitStream<S>
and SplitSink<S>
are
a matching pair originating from the same call to StreamExt::split
.
Trait Implementations
Attempt to pull out the next value of this stream, registering the
current task for wakeup if the value is not yet available, and returning
None
if the stream is exhausted. Read more
Auto Trait Implementations
impl<S> !RefUnwindSafe for SplitStream<S>
impl<S> Send for SplitStream<S> where
S: Send,
impl<S> Sync for SplitStream<S> where
S: Send,
impl<S> !UnwindSafe for SplitStream<S>