pub struct GetAllStoreRequest { /* private fields */ }Expand description
Request returned when performing ObjectStore::get_all or Index::get_all.
Implementations§
Source§impl GetAllStoreRequest
impl GetAllStoreRequest
Sourcepub fn forget_callbacks(&mut self)
pub fn forget_callbacks(&mut self)
Release memory management of the callbacks to JS GC.
Note: This may leak memory. Read more about it here.
Trait Implementations§
Source§impl Debug for GetAllStoreRequest
impl Debug for GetAllStoreRequest
Source§impl From<GetAllStoreRequest> for IdbRequest
impl From<GetAllStoreRequest> for IdbRequest
Source§fn from(request: GetAllStoreRequest) -> Self
fn from(request: GetAllStoreRequest) -> Self
Converts to this type from the input type.
Source§impl From<GetAllStoreRequest> for JsValue
impl From<GetAllStoreRequest> for JsValue
Source§fn from(value: GetAllStoreRequest) -> Self
fn from(value: GetAllStoreRequest) -> Self
Converts to this type from the input type.
Source§impl From<IdbRequest> for GetAllStoreRequest
impl From<IdbRequest> for GetAllStoreRequest
Source§fn from(inner: IdbRequest) -> Self
fn from(inner: IdbRequest) -> Self
Converts to this type from the input type.
Source§impl IntoFuture for GetAllStoreRequest
Available on crate feature futures only.
impl IntoFuture for GetAllStoreRequest
Available on crate feature
futures only.Source§type Output = <<GetAllStoreRequest as IntoFuture>::IntoFuture as Future>::Output
type Output = <<GetAllStoreRequest as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
Source§type IntoFuture = GetAllStoreRequestFuture
type IntoFuture = GetAllStoreRequestFuture
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl Request for GetAllStoreRequest
impl Request for GetAllStoreRequest
Source§type Event = GetAllStoreRequestEvent
type Event = GetAllStoreRequestEvent
The type of the event for request’s handlers.
Source§fn result(&self) -> Result<JsValue, Error>
fn result(&self) -> Result<JsValue, Error>
When a request is completed, returns the
result, or undefined if the request failed. Returns an Error if
the request is still pending.Source§fn error(&self) -> Result<Option<DomException>, Error>
fn error(&self) -> Result<Option<DomException>, Error>
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.Source§fn source(&self) -> Result<Object, Error>
fn source(&self) -> Result<Object, Error>
Returns the
ObjectStore, Index, or Cursor the request was made against, or null if it was an open
request.Source§fn transaction(&self) -> Option<Transaction>
fn transaction(&self) -> Option<Transaction>
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.Source§fn ready_state(&self) -> Result<RequestReadyState, Error>
fn ready_state(&self) -> Result<RequestReadyState, Error>
Returns
RequestReadyState::Pending until a request is complete, then returns RequestReadyState::Done.Source§fn on_success<F>(&mut self, callback: F)
fn on_success<F>(&mut self, callback: F)
Adds an event handler for
success event.Source§impl TryFrom<EventTarget> for GetAllStoreRequest
impl TryFrom<EventTarget> for GetAllStoreRequest
Auto Trait Implementations§
impl Freeze for GetAllStoreRequest
impl !RefUnwindSafe for GetAllStoreRequest
impl !Send for GetAllStoreRequest
impl !Sync for GetAllStoreRequest
impl Unpin for GetAllStoreRequest
impl !UnwindSafe for GetAllStoreRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more