[][src]Struct web_sys::IdbOpenDbRequest

#[repr(transparent)]pub struct IdbOpenDbRequest { /* fields omitted */ }

The IdbOpenDbRequest class.

MDN Documentation

This API requires the following crate features to be activated: IdbOpenDbRequest

Methods

impl IdbOpenDbRequest[src]

pub fn onblocked(&self) -> Option<Function>[src]

Getter for the onblocked field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbOpenDbRequest

impl IdbOpenDbRequest[src]

pub fn set_onblocked(&self, value: Option<&Function>)[src]

Setter for the onblocked field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbOpenDbRequest

impl IdbOpenDbRequest[src]

pub fn onupgradeneeded(&self) -> Option<Function>[src]

Getter for the onupgradeneeded field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbOpenDbRequest

impl IdbOpenDbRequest[src]

pub fn set_onupgradeneeded(&self, value: Option<&Function>)[src]

Setter for the onupgradeneeded field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbOpenDbRequest

Methods from Deref<Target = IdbRequest>

pub fn result(&self) -> Result<JsValue, JsValue>[src]

Getter for the result field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest

pub fn error(&self) -> Result<Option<DomException>, JsValue>[src]

Getter for the error field of this object.

MDN Documentation

This API requires the following crate features to be activated: DomException, IdbRequest

pub fn source(&self) -> Option<Object>[src]

Getter for the source field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest

pub fn transaction(&self) -> Option<IdbTransaction>[src]

Getter for the transaction field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest, IdbTransaction

pub fn ready_state(&self) -> IdbRequestReadyState[src]

Getter for the readyState field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest, IdbRequestReadyState

pub fn onsuccess(&self) -> Option<Function>[src]

Getter for the onsuccess field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest

pub fn set_onsuccess(&self, value: Option<&Function>)[src]

Setter for the onsuccess field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest

pub fn onerror(&self) -> Option<Function>[src]

Getter for the onerror field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest

pub fn set_onerror(&self, value: Option<&Function>)[src]

Setter for the onerror field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbRequest

Trait Implementations

impl AsRef<EventTarget> for IdbOpenDbRequest[src]

impl AsRef<IdbOpenDbRequest> for IdbOpenDbRequest[src]

impl AsRef<IdbRequest> for IdbOpenDbRequest[src]

impl AsRef<JsValue> for IdbOpenDbRequest[src]

impl AsRef<Object> for IdbOpenDbRequest[src]

impl Clone for IdbOpenDbRequest[src]

impl Debug for IdbOpenDbRequest[src]

impl Deref for IdbOpenDbRequest[src]

type Target = IdbRequest

The resulting type after dereferencing.

impl Eq for IdbOpenDbRequest[src]

impl From<IdbOpenDbRequest> for JsValue[src]

impl From<IdbOpenDbRequest> for IdbRequest[src]

impl From<IdbOpenDbRequest> for EventTarget[src]

impl From<IdbOpenDbRequest> for Object[src]

impl From<JsValue> for IdbOpenDbRequest[src]

impl FromWasmAbi for IdbOpenDbRequest[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for IdbOpenDbRequest[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a IdbOpenDbRequest[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for IdbOpenDbRequest[src]

impl OptionFromWasmAbi for IdbOpenDbRequest[src]

impl OptionIntoWasmAbi for IdbOpenDbRequest[src]

impl<'a> OptionIntoWasmAbi for &'a IdbOpenDbRequest[src]

impl PartialEq<IdbOpenDbRequest> for IdbOpenDbRequest[src]

impl RefFromWasmAbi for IdbOpenDbRequest[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<IdbOpenDbRequest>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for IdbOpenDbRequest[src]

impl StructuralPartialEq for IdbOpenDbRequest[src]

impl WasmDescribe for IdbOpenDbRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for IdbOpenDbRequest

impl !Send for IdbOpenDbRequest

impl !Sync for IdbOpenDbRequest

impl Unpin for IdbOpenDbRequest

impl UnwindSafe for IdbOpenDbRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.