Struct futures_util::io::WriteAll [−][src]
pub struct WriteAll<'a, W: ?Sized + 'a> { /* 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, W: Debug + ?Sized + 'a> Debug for WriteAll<'a, W>
[src]
impl<'a, W: Debug + ?Sized + 'a> Debug for WriteAll<'a, W>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, W: ?Sized> Unpin for WriteAll<'a, W>
[src]
impl<'a, W: ?Sized> Unpin for WriteAll<'a, W>
impl<'a, W: AsyncWrite + ?Sized> Future for WriteAll<'a, W>
[src]
impl<'a, W: AsyncWrite + ?Sized> Future for WriteAll<'a, W>
type Output = Result<()>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
The result of the Future
.
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Result<()>>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Result<()>>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more