Skip to main content

IDBTransactionMethods

pub trait IDBTransactionMethods<D: DomTypes> {
Show 14 methods // Required methods fn ObjectStoreNames(&self) -> DomRoot<D::DOMStringList>; fn Mode(&self) -> IDBTransactionMode; fn Durability(&self) -> IDBTransactionDurability; fn Db(&self) -> DomRoot<D::IDBDatabase>; fn GetError(&self) -> Option<DomRoot<D::DOMException>>; fn ObjectStore( &self, name: DOMString, _can_gc: CanGc, ) -> Fallible<DomRoot<D::IDBObjectStore>>; fn Commit(&self) -> Fallible<()>; fn Abort(&self) -> Fallible<()>; fn GetOnabort( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnabort( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, ); fn GetOncomplete( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncomplete( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, ); fn GetOnerror( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnerror( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, );
}

Required Methods§

Implementors§