Struct Copy

struct Copy<'a, R, W: ?Sized> { ... }

Future for the [copy()] function.

Implementations

impl<'__pin, 'a, R, W: ?Sized> Unpin for Copy<'a, R, W>

impl<'a, R, W> Freeze for Copy<'a, R, W>

impl<'a, R, W> RefUnwindSafe for Copy<'a, R, W>

impl<'a, R, W> Send for Copy<'a, R, W>

impl<'a, R, W> Sync for Copy<'a, R, W>

impl<'a, R, W> UnsafeUnpin for Copy<'a, R, W>

impl<'a, R, W> UnwindSafe for Copy<'a, R, W>

impl<'a, R: $crate::fmt::Debug, W: $crate::fmt::Debug + ?Sized> Debug for Copy<'a, R, W>

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

impl<F> IntoFuture for Copy<'a, R, W>

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

impl<F, T, E> TryFuture for Copy<'a, R, W>

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

impl<Fut> TryFutureExt for Copy<'a, R, W>

impl<R: AsyncRead, W: AsyncWrite + Unpin + ?Sized> Future for Copy<'_, R, W>

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

impl<T> Any for Copy<'a, R, W>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Copy<'a, R, W>

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

impl<T> BorrowMut for Copy<'a, R, W>

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

impl<T> From for Copy<'a, R, W>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for Copy<'a, R, W>

impl<T, U> Into for Copy<'a, R, W>

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 Copy<'a, R, W>

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

impl<T, U> TryInto for Copy<'a, R, W>

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