Struct futures::sink::Send [−][src]
#[must_use = "futures do nothing unless polled"]pub struct Send<'a, Si> where
Si: 'a + Unpin + Sink + ?Sized, { /* fields omitted */ }
Future for the Sink::send
combinator, which sends a value to a sink and
then waits until the sink has fully flushed.
Trait Implementations
impl<'a, Si> Unpin for Send<'a, Si> where
Si: Unpin + Sink + ?Sized,
[src]
impl<'a, Si> Unpin for Send<'a, Si> where
Si: Unpin + Sink + ?Sized,
impl<'a, Si> Debug for Send<'a, Si> where
Si: 'a + Unpin + Debug + Sink + ?Sized,
<Si as Sink>::SinkItem: Debug,
[src]
impl<'a, Si> Debug for Send<'a, Si> where
Si: 'a + Unpin + Debug + Sink + ?Sized,
<Si as Sink>::SinkItem: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a, Si> Future for Send<'a, Si> where
Si: Unpin + Sink + ?Sized,
[src]
impl<'a, Si> Future for Send<'a, Si> where
Si: Unpin + Sink + ?Sized,
type Output = Result<(), <Si as Sink>::SinkError>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
The result of the Future
.
fn poll(
self: PinMut<Send<'a, Si>>,
cx: &mut Context
) -> Poll<<Send<'a, Si> as Future>::Output>
[src]
fn poll(
self: PinMut<Send<'a, Si>>,
cx: &mut Context
) -> Poll<<Send<'a, Si> as Future>::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