pub struct TokioExecutor {}Available on crate feature
executors-tokio only.Expand description
Executor that uses the [tokio::task::spawn] to execute futures.
Trait Implementations§
Source§impl Default for TokioExecutor
impl Default for TokioExecutor
Source§fn default() -> TokioExecutor
fn default() -> TokioExecutor
Returns the “default value” for a type. Read more
Source§impl Execute for TokioExecutor
impl Execute for TokioExecutor
Auto Trait Implementations§
impl Freeze for TokioExecutor
impl RefUnwindSafe for TokioExecutor
impl Send for TokioExecutor
impl Sync for TokioExecutor
impl Unpin for TokioExecutor
impl UnwindSafe for TokioExecutor
Blanket Implementations§
Source§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