Struct rquickjs_core::Tokio
source · [−]pub struct Tokio;Available on crate feature
tokio only.Expand description
The tokio async runtime for spawning executors.
Trait Implementations
sourceimpl ExecutorSpawner for Tokio
impl ExecutorSpawner for Tokio
The tokio async runtime for spawning executors.
type JoinHandle = JoinHandle<()>
type JoinHandle = JoinHandle<()>
Available on crate feature
futures only.The type of join handle which returns ()
sourcefn spawn_executor(self, task: Executor) -> Self::JoinHandle
fn spawn_executor(self, task: Executor) -> Self::JoinHandle
Available on crate feature
futures only.Spawn pending jobs using async runtime spawn function
Auto Trait Implementations
impl RefUnwindSafe for Tokio
impl Send for Tokio
impl Sync for Tokio
impl Unpin for Tokio
impl UnwindSafe for Tokio
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more