Struct WriteAll

#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct WriteAll<'a, W: ?Sized> { /* private fields */ }

Future for the write_all method.

Trait Implementations

impl<'a, W: Debug + ?Sized> Debug for WriteAll<'a, W>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<W: ?Sized + Unpin> Unpin for WriteAll<'_, W>

impl<W: AsyncWrite + ?Sized + Unpin> Future for WriteAll<'_, W>

type Output = Result<(), Error>;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>

Auto Trait Implementations

impl<'a, W> !UnwindSafe for WriteAll<'a, W>

impl<'a, W> Freeze for WriteAll<'a, W> where &'a mut W: Freeze, W: ?Sized,

impl<'a, W> RefUnwindSafe for WriteAll<'a, W> where &'a mut W: RefUnwindSafe, W: ?Sized,

impl<'a, W> Send for WriteAll<'a, W> where &'a mut W: Send, W: ?Sized,

impl<'a, W> Sync for WriteAll<'a, W> where &'a mut W: Sync, W: ?Sized,

impl<'a, W> UnsafeUnpin for WriteAll<'a, W> where &'a mut W: UnsafeUnpin, W: ?Sized,

Blanket Implementations

impl<F> IntoFuture for WriteAll<'a, W> where F: Future,

type Output = <F as Future>::Output;
type IntoFuture = F;
fn into_future(self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for WriteAll<'a, W> where F: Future<Output = Result<T, E>> + ?Sized,

type Ok = T;
type Error = E;
fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for WriteAll<'a, W> where Fut: TryFuture + ?Sized,

impl<T> Any for WriteAll<'a, W> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for WriteAll<'a, W> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for WriteAll<'a, W> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for WriteAll<'a, W>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for WriteAll<'a, W> where T: Future + ?Sized,

impl<T, U> Into<U> for WriteAll<'a, W> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for WriteAll<'a, W> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for WriteAll<'a, W> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>