Struct idb_sys::StoreRequest

source ·
pub struct StoreRequest { /* private fields */ }
Expand description

Request returned when performing operations on an ObjectStore.

Trait Implementations§

Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
When a request is completed, returns the result, or undefined if the request failed. Returns an Error if the request is still pending. Read more
When a request is completed, returns the error (a DOMException), or None if the request succeeded. Returns an Error if the request is still pending. Read more
Returns the ObjectStore, Index, or Cursor the request was made against, or null if it was an open request. Read more
Returns the Transaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or None otherwise. Read more
Returns RequestReadyState::Pending until a request is complete, then returns RequestReadyState::Done.
Adds an event handler for success event.
Adds an event handler for error event.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.