Struct TokioExecutor
struct TokioExecutor { ... }
Future executor that utilises tokio threads.
Implementations
impl TokioExecutor
fn new() -> SelfCreate new executor that relies on
tokio::spawnto execute futures.
impl Clone for TokioExecutor
fn clone(self: &Self) -> TokioExecutor
impl Debug for TokioExecutor
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for TokioExecutor
fn default() -> TokioExecutor
impl Freeze for TokioExecutor
impl RefUnwindSafe for TokioExecutor
impl Send for TokioExecutor
impl Sync for TokioExecutor
impl Unpin for TokioExecutor
impl UnsafeUnpin for TokioExecutor
impl UnwindSafe for TokioExecutor
impl<A, B, T> HttpServerConnExec for TokioExecutor
impl<E, B, T> Http2ClientConnExec for TokioExecutor
fn execute_h2_future(self: &mut Self, future: H2ClientFuture<B, T>)
impl<E, F, B> Http2ServerConnExec for TokioExecutor
fn execute_h2stream(self: &mut Self, fut: H2Stream<F, B>)
impl<Fut> Executor for TokioExecutor
fn execute(self: &Self, fut: Fut)
impl<T> Any for TokioExecutor
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for TokioExecutor
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for TokioExecutor
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for TokioExecutor
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for TokioExecutor
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for TokioExecutor
impl<T> ToOwned for TokioExecutor
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> WithSubscriber for TokioExecutor
impl<T, U> Into for TokioExecutor
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for TokioExecutor
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for TokioExecutor
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>