Skip to main content

CacheStorageMethods

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§

Source

fn Has( &self, cx: &mut JSContext, cacheName: DOMString, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot

Source

fn Open( &self, cx: &mut JSContext, cacheName: DOMString, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot

Source

fn Delete( &self, cx: &mut JSContext, cacheName: DOMString, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot

Implementors§