pub(crate) trait CacheStorageMethods<D>where
D: DomTypes,{
// Required methods
fn Has(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> Rc<<D as DomTypes>::Promise>;
fn Open(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> Rc<<D as DomTypes>::Promise>;
fn Delete(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> Rc<<D as DomTypes>::Promise>;
}