pub enum AsyncReadOnlyOperation {
    GetKey {
        sender: IpcSender<BackendResult<Option<IndexedDBKeyType>>>,
        key_range: IndexedDBKeyRange,
    },
    GetItem {
        sender: IpcSender<BackendResult<Option<Vec<u8>>>>,
        key_range: IndexedDBKeyRange,
    },
    GetAllKeys {
        sender: IpcSender<BackendResult<Vec<IndexedDBKeyType>>>,
        key_range: IndexedDBKeyRange,
        count: Option<u32>,
    },
    GetAllItems {
        sender: IpcSender<BackendResult<Vec<Vec<u8>>>>,
        key_range: IndexedDBKeyRange,
        count: Option<u32>,
    },
    Count {
        sender: IpcSender<BackendResult<u64>>,
        key_range: IndexedDBKeyRange,
    },
    Iterate {
        sender: IpcSender<BackendResult<Vec<IndexedDBRecord>>>,
        key_range: IndexedDBKeyRange,
    },
}Variants§
GetKey
Gets the value associated with the given key in the associated idb data
GetItem
GetAllKeys
GetAllItems
Fields
§
key_range: IndexedDBKeyRangeCount
Iterate
Trait Implementations§
Source§impl Debug for AsyncReadOnlyOperation
 
impl Debug for AsyncReadOnlyOperation
Source§impl<'de> Deserialize<'de> for AsyncReadOnlyOperation
 
impl<'de> Deserialize<'de> for AsyncReadOnlyOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AsyncReadOnlyOperation
impl RefUnwindSafe for AsyncReadOnlyOperation
impl Send for AsyncReadOnlyOperation
impl Sync for AsyncReadOnlyOperation
impl Unpin for AsyncReadOnlyOperation
impl UnwindSafe for AsyncReadOnlyOperation
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
 
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
 
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
 
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
 
fn maybe_boxed(self) -> T
Convert