Struct futures::io::WriteAll
[−]
[src]
pub struct WriteAll<A, T> { /* fields omitted */ }
A future used to write the entire contents of some data to a stream.
This is created by the write_all
top-level method.
Trait Implementations
impl<A, T> Future for WriteAll<A, T> where
A: AsyncWrite,
T: AsRef<[u8]>,
[src]
A: AsyncWrite,
T: AsRef<[u8]>,
type Item = (A, T)
A successful value
type Error = Error
An error
fn poll(&mut self, cx: &mut Context) -> Result<Async<(A, T)>, Error>
[src]
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
impl<A, T> Debug for WriteAll<A, T> where
A: Debug,
T: Debug,
[src]
A: Debug,
T: Debug,