Struct gain::stream::WriteStream [−][src]
pub struct WriteStream { /* fields omitted */ }
Expand description
Output stream.
Implementations
Detach the closing functionality.
Trait Implementations
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFutureimpl Future for StreamCloseFuture type Output = ();
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFutureimpl Future for StreamCloseFuture type Output = ();
Notable traits for StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
Close a stream. Returns a future.
Performs the conversion.
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>;
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>;
Notable traits for StreamWriteFuture<'_>
impl Future for StreamWriteFuture<'_> type Output = Result<usize>;
Write part of a byte slice. Returns a future.