Trait gain::stream::Write [−][src]
pub trait Write { fn write<'a>(&'a mut self, data: &'a [u8]) -> Write<'_>ⓘ; 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_all<'a>(&'a mut self, data: &'a [u8]) -> WriteAll<'_>ⓘNotable traits for StreamWriteFuture<'_>
impl Future for StreamWriteFuture<'_> type Output = Result<usize>;
; }Notable traits for StreamWriteAllFuture<'_>
impl Future for StreamWriteAllFuture<'_> type Output = Result<()>;
Expand description
Data writer.
Required methods
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.
Implementors
fn write<'a>(&'a mut self, data: &'a [u8]) -> 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]fn write<'a>(&'a mut self, data: &'a [u8]) -> 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]fn write<'a>(&'a mut self, data: &'a [u8]) -> 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]fn write<'a>(&'a mut self, data: &'a [u8]) -> 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]