pub trait CacheStorageMethods<D: DomTypes> {
// Required methods
fn Has(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
fn Open(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
fn Delete(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
}Required Methods§
fn Has( &self, cx: &mut JSContext, cacheName: DOMString, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot
fn Open( &self, cx: &mut JSContext, cacheName: DOMString, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot
fn Delete( &self, cx: &mut JSContext, cacheName: DOMString, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".