pub struct TokioGlobal;Available on crate feature
tokio only.Expand description
Global Tokio executor that can be used to spawn tasks.
Trait Implementations§
Source§impl Clone for TokioGlobal
impl Clone for TokioGlobal
Source§fn clone(&self) -> TokioGlobal
fn clone(&self) -> TokioGlobal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TokioGlobal
impl Debug for TokioGlobal
Source§impl Executor for TokioGlobal
impl Executor for TokioGlobal
impl Copy for TokioGlobal
Auto Trait Implementations§
impl Freeze for TokioGlobal
impl RefUnwindSafe for TokioGlobal
impl Send for TokioGlobal
impl Sync for TokioGlobal
impl Unpin for TokioGlobal
impl UnwindSafe for TokioGlobal
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