Trait ServiceWorkerManagerFactory

Source
pub trait ServiceWorkerManagerFactory {
    // Required method
    fn create(sw_senders: SWManagerSenders, origin: ImmutableOrigin);
}
Expand description

This trait allows creating a ServiceWorkerManager without depending on the script crate.

Required Methods§

Source

fn create(sw_senders: SWManagerSenders, origin: ImmutableOrigin)

Create a ServiceWorkerManager.

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.

Implementors§