[−][src]Struct futures_util::io::Close
pub struct Close<'a, W: ?Sized + 'a> { /* fields omitted */ }
A future used to fully close an I/O object.
Created by the close
function.
Trait Implementations
impl<'a, W: Debug + ?Sized + 'a> Debug for Close<'a, W>
[src]
impl<'a, W: Debug + ?Sized + 'a> Debug for Close<'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<W: ?Sized, '_> Unpin for Close<'_, W>
[src]
impl<W: ?Sized, '_> Unpin for Close<'_, W>
impl<W: AsyncWrite + ?Sized, '_> Future for Close<'_, W>
[src]
impl<W: AsyncWrite + ?Sized, '_> Future for Close<'_, 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<Self::Output>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
🔬 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