Struct rquickjs_core::AsyncStd
source · [−]pub struct AsyncStd;
Available on crate feature
async-std
only.Expand description
The async_std
runtime for spawning executors.
Trait Implementations
sourceimpl ExecutorSpawner for AsyncStd
impl ExecutorSpawner for AsyncStd
The async_std
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 AsyncStd
impl Send for AsyncStd
impl Sync for AsyncStd
impl Unpin for AsyncStd
impl UnwindSafe for AsyncStd
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