Trait IDBFactoryMethods
Source pub trait IDBFactoryMethods<D: DomTypes> {
// Required methods
fn Open(
&self,
cx: &mut JSContext,
name: DOMString,
version: Option<u64>,
) -> Fallible<DomRoot<D::IDBOpenDBRequest>>;
fn DeleteDatabase(
&self,
cx: &mut JSContext,
name: DOMString,
) -> Fallible<DomRoot<D::IDBOpenDBRequest>>;
fn Databases(
&self,
cx: &mut JSContext,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
fn Cmp(
&self,
cx: &mut JSContext,
first: HandleValue<'_>,
second: HandleValue<'_>,
) -> Fallible<i16>;
}