[][src]Struct web_sys::IdbOpenDbRequest

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

The IDBOpenDBRequest object

MDN Documentation

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

Methods

impl IdbOpenDbRequest[src]

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

The onblocked getter

MDN Documentation

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

impl IdbOpenDbRequest[src]

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

The onblocked setter

MDN Documentation

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

impl IdbOpenDbRequest[src]

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

The onupgradeneeded getter

MDN Documentation

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

impl IdbOpenDbRequest[src]

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

The onupgradeneeded setter

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]

The result getter

MDN Documentation

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

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

The error getter

MDN Documentation

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

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

The source getter

MDN Documentation

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

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

The transaction getter

MDN Documentation

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

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

The readyState getter

MDN Documentation

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

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

The onsuccess getter

MDN Documentation

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

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

The onsuccess setter

MDN Documentation

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

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

The onerror getter

MDN Documentation

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

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

The onerror setter

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for IdbOpenDbRequest[src]

impl AsRef<IdbOpenDbRequest> for IdbOpenDbRequest[src]

impl AsRef<IdbRequest> for IdbOpenDbRequest[src]

impl AsRef<EventTarget> for IdbOpenDbRequest[src]

impl AsRef<Object> for IdbOpenDbRequest[src]

impl From<JsValue> 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 Clone for IdbOpenDbRequest[src]

impl Eq for IdbOpenDbRequest[src]

impl PartialEq<IdbOpenDbRequest> for IdbOpenDbRequest[src]

impl Debug for IdbOpenDbRequest[src]

impl Deref for IdbOpenDbRequest[src]

type Target = IdbRequest

The resulting type after dereferencing.

impl StructuralPartialEq for IdbOpenDbRequest[src]

impl StructuralEq for IdbOpenDbRequest[src]

impl JsCast 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 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 WasmDescribe for IdbOpenDbRequest[src]

impl OptionFromWasmAbi for IdbOpenDbRequest[src]

impl OptionIntoWasmAbi for IdbOpenDbRequest[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi