pub trait ManagerExt<R: Runtime>: Manager<R> {
// Provided methods
fn tokio_handle(&self) -> TokioHandle { ... }
fn spawn<F, Fut>(&self, f: F) -> AbortHandle
where F: FnOnce(AppHandle<R>) -> Fut + Send + 'static,
Fut: Future<Output = ()> + Send + 'static { ... }
}
Provided Methods§
fn tokio_handle(&self) -> TokioHandle
fn spawn<F, Fut>(&self, f: F) -> AbortHandle
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.