pub trait IDBDatabaseMethods<D: DomTypes> {
Show 15 methods // Required methods fn Name(&self) -> DOMString; fn Version(&self) -> u64; fn ObjectStoreNames(&self) -> DomRoot<D::DOMStringList>; fn Transaction( &self, storeNames: StringOrStringSequence, mode: IDBTransactionMode, options: &IDBTransactionOptions, ) -> Fallible<DomRoot<D::IDBTransaction>>; fn Close(&self); fn CreateObjectStore( &self, name: DOMString, options: &IDBObjectStoreParameters, ) -> Fallible<DomRoot<D::IDBObjectStore>>; fn DeleteObjectStore(&self, name: DOMString) -> Fallible<()>; fn GetOnabort(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnabort(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnclose(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnerror(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnerror(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnversionchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnversionchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
}

Required Methods§

Implementors§