[][src]Struct web_sys::IdbFileRequest

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

The IdbFileRequest class.

MDN Documentation

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

Methods

impl IdbFileRequest[src]

pub fn file_handle(&self) -> Option<IdbFileHandle>[src]

Getter for the fileHandle field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbFileHandle, IdbFileRequest

impl IdbFileRequest[src]

pub fn locked_file(&self) -> Option<IdbFileHandle>[src]

Getter for the lockedFile field of this object.

MDN Documentation

This API requires the following crate features to be activated: IdbFileHandle, IdbFileRequest

impl IdbFileRequest[src]

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

Getter for the onprogress field of this object.

MDN Documentation

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

impl IdbFileRequest[src]

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

Setter for the onprogress field of this object.

MDN Documentation

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

Methods from Deref<Target = DomRequest>

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

Getter for the readyState field of this object.

MDN Documentation

This API requires the following crate features to be activated: DomRequest, DomRequestReadyState

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

Getter for the result field of this object.

MDN Documentation

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

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

Getter for the error field of this object.

MDN Documentation

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

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: DomRequest

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: DomRequest

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: DomRequest

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: DomRequest

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

The then() method.

MDN Documentation

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

pub fn then_with_fulfill_callback(
    &self,
    fulfill_callback: Option<&Function>
) -> Result<JsValue, JsValue>
[src]

The then() method.

MDN Documentation

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

pub fn then_with_fulfill_callback_and_reject_callback(
    &self,
    fulfill_callback: Option<&Function>,
    reject_callback: Option<&Function>
) -> Result<JsValue, JsValue>
[src]

The then() method.

MDN Documentation

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

Trait Implementations

impl AsRef<DomRequest> for IdbFileRequest[src]

impl AsRef<EventTarget> for IdbFileRequest[src]

impl AsRef<IdbFileRequest> for IdbFileRequest[src]

impl AsRef<JsValue> for IdbFileRequest[src]

impl AsRef<Object> for IdbFileRequest[src]

impl Clone for IdbFileRequest[src]

impl Debug for IdbFileRequest[src]

impl Deref for IdbFileRequest[src]

type Target = DomRequest

The resulting type after dereferencing.

impl Eq for IdbFileRequest[src]

impl From<IdbFileRequest> for JsValue[src]

impl From<IdbFileRequest> for DomRequest[src]

impl From<IdbFileRequest> for EventTarget[src]

impl From<IdbFileRequest> for Object[src]

impl From<JsValue> for IdbFileRequest[src]

impl FromWasmAbi for IdbFileRequest[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 IdbFileRequest[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 IdbFileRequest[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 IdbFileRequest[src]

impl OptionFromWasmAbi for IdbFileRequest[src]

impl OptionIntoWasmAbi for IdbFileRequest[src]

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

impl PartialEq<IdbFileRequest> for IdbFileRequest[src]

impl RefFromWasmAbi for IdbFileRequest[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<IdbFileRequest>

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 IdbFileRequest[src]

impl StructuralPartialEq for IdbFileRequest[src]

impl WasmDescribe for IdbFileRequest[src]

Auto Trait Implementations

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.