pub struct TokioTaskProvider;Expand description
Tokio-based task provider using spawn_local for single-threaded execution.
This provider creates tasks that run on the current thread using tokio’s spawn_local mechanism, ensuring compatibility with simulation environments that require deterministic single-threaded execution.
Trait Implementations§
Source§impl Clone for TokioTaskProvider
impl Clone for TokioTaskProvider
Source§fn clone(&self) -> TokioTaskProvider
fn clone(&self) -> TokioTaskProvider
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 TokioTaskProvider
impl Debug for TokioTaskProvider
Source§impl TaskProvider for TokioTaskProvider
impl TaskProvider for TokioTaskProvider
Source§fn spawn_task<F>(&self, name: &str, future: F) -> JoinHandle<()>
fn spawn_task<F>(&self, name: &str, future: F) -> JoinHandle<()>
Spawn a named task that runs on the current thread. Read more
Auto Trait Implementations§
impl Freeze for TokioTaskProvider
impl RefUnwindSafe for TokioTaskProvider
impl Send for TokioTaskProvider
impl Sync for TokioTaskProvider
impl Unpin for TokioTaskProvider
impl UnwindSafe for TokioTaskProvider
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