Struct Close

struct Close<'a, Si: ?Sized, Item> { ... }

Future for the close method.

Implementations

impl<'a, Si, Item> Freeze for Close<'a, Si, Item>

impl<'a, Si, Item> RefUnwindSafe for Close<'a, Si, Item>

impl<'a, Si, Item> Send for Close<'a, Si, Item>

impl<'a, Si, Item> Sync for Close<'a, Si, Item>

impl<'a, Si, Item> UnsafeUnpin for Close<'a, Si, Item>

impl<'a, Si, Item> UnwindSafe for Close<'a, Si, Item>

impl<'a, Si: $crate::fmt::Debug + ?Sized, Item: $crate::fmt::Debug> Debug for Close<'a, Si, Item>

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

impl<F> IntoFuture for Close<'a, Si, Item>

fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for Close<'a, Si, Item>

fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for Close<'a, Si, Item>

impl<Si: Sink<Item> + Unpin + ?Sized, Item> Future for Close<'_, Si, Item>

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>

impl<Si: Unpin + ?Sized, Item> Unpin for Close<'_, Si, Item>

impl<T> Any for Close<'a, Si, Item>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Close<'a, Si, Item>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Close<'a, Si, Item>

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

impl<T> From for Close<'a, Si, Item>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for Close<'a, Si, Item>

impl<T, U> Into for Close<'a, Si, Item>

fn into(self: 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 for Close<'a, Si, Item>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Close<'a, Si, Item>

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