pub struct BoxedExecutor02(/* private fields */);Expand description
A wrapper of Box<Executor> because it’s missing from the futures crate (lolz).
Trait Implementations§
Source§impl Executor for BoxedExecutor02
impl Executor for BoxedExecutor02
Auto Trait Implementations§
impl Freeze for BoxedExecutor02
impl !RefUnwindSafe for BoxedExecutor02
impl Send for BoxedExecutor02
impl !Sync for BoxedExecutor02
impl Unpin for BoxedExecutor02
impl !UnwindSafe for BoxedExecutor02
Blanket Implementations§
Source§impl<I> AsyncIoIntoTokio for I
impl<I> AsyncIoIntoTokio for I
Source§fn into_tokio_compat<E>(self, exec: E) -> AsyncIo02AsTokio<E, I> ⓘ
fn into_tokio_compat<E>(self, exec: E) -> AsyncIo02AsTokio<E, I> ⓘ
Converts this IO into an
AsyncIo02AsTokio. Read moreSource§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<I> TokioIntoAsyncIo02 for I
impl<I> TokioIntoAsyncIo02 for I
Source§fn into_v02_compat(self) -> TokioAsAsyncIo02<I>where
I: AsyncRead + AsyncWrite,
fn into_v02_compat(self) -> TokioAsAsyncIo02<I>where
I: AsyncRead + AsyncWrite,
Converts this IO into an
TokioAsAsyncIo02.