tauri_store_utils

Trait ManagerExt

Source
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§

Source

fn tokio_handle(&self) -> TokioHandle

Source

fn spawn<F, Fut>(&self, f: F) -> AbortHandle
where F: FnOnce(AppHandle<R>) -> Fut + Send + 'static, Fut: Future<Output = ()> + Send + 'static,

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.

Implementations on Foreign Types§

Source§

impl<R: Runtime> ManagerExt<R> for AppHandle<R>

Source§

impl<R: Runtime> ManagerExt<R> for WebviewWindow<R>

Source§

impl<R: Runtime> ManagerExt<R> for Window<R>

Implementors§