pub trait IDBFactoryMethods<D: DomTypes> {
// Required methods
fn Open(
&self,
name: DOMString,
version: Option<u64>,
) -> Fallible<DomRoot<D::IDBOpenDBRequest>>;
fn DeleteDatabase(
&self,
name: DOMString,
) -> Fallible<DomRoot<D::IDBOpenDBRequest>>;
fn Databases(&self, cx: &mut JSContext) -> Rc<D::Promise>;
fn Cmp(
&self,
cx: &mut JSContext,
first: HandleValue<'_>,
second: HandleValue<'_>,
) -> Fallible<i16>;
}Required Methods§
fn Open( &self, name: DOMString, version: Option<u64>, ) -> Fallible<DomRoot<D::IDBOpenDBRequest>>
fn DeleteDatabase( &self, name: DOMString, ) -> Fallible<DomRoot<D::IDBOpenDBRequest>>
fn Databases(&self, cx: &mut JSContext) -> Rc<D::Promise>
fn Cmp( &self, cx: &mut JSContext, first: HandleValue<'_>, second: HandleValue<'_>, ) -> Fallible<i16>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".