pub trait IDBRequestMethods<D: DomTypes> {
// Required methods
fn Result(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
fn GetError(&self) -> Option<DomRoot<D::DOMException>>;
fn GetSource(&self) -> Option<DomRoot<D::IDBObjectStore>>;
fn GetTransaction(&self) -> Option<DomRoot<D::IDBTransaction>>;
fn ReadyState(&self) -> IDBRequestReadyState;
fn GetOnsuccess(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnsuccess(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnerror(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnerror(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
}Required Methods§
fn Result(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)
fn GetError(&self) -> Option<DomRoot<D::DOMException>>
fn GetSource(&self) -> Option<DomRoot<D::IDBObjectStore>>
fn GetTransaction(&self) -> Option<DomRoot<D::IDBTransaction>>
fn ReadyState(&self) -> IDBRequestReadyState
fn GetOnsuccess(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnsuccess(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnerror(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnerror(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".