Struct gain::stream::RecvWriteStream [−][src]
pub struct RecvWriteStream { /* fields omitted */ }
Expand description
Bidirectional stream.
Implementations
Split the stream into unidirectional parts.
Split the stream into unidirectional parts which can be closed asynchronously. The single CloseStream closes both directions.
Trait Implementations
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
[src]
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
[src]Close a stream. Returns a future.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Receive data packets repeatedly. Returns a future. Read more
Write part of a byte slice. Returns a future.
fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> Write<'_>ⓘNotable traits for StreamWriteFuture<'_>
impl Future for StreamWriteFuture<'_> type Output = Result<usize>;
[src]
fn write_note<'a>(&'a mut self, data: &'a [u8], note: i32) -> Write<'_>ⓘNotable traits for StreamWriteFuture<'_>
impl Future for StreamWriteFuture<'_> type Output = Result<usize>;
[src]Write part of a byte slice. Returns a future.
Auto Trait Implementations
impl !RefUnwindSafe for RecvWriteStream
impl !Send for RecvWriteStream
impl !Sync for RecvWriteStream
impl Unpin for RecvWriteStream
impl !UnwindSafe for RecvWriteStream