Struct web_sys::IdbIndex [−][src]
#[repr(transparent)]pub struct IdbIndex { /* fields omitted */ }
Expand description
The IdbIndex
class.
This API requires the following crate features to be activated: IdbIndex
Implementations
Getter for the name
field of this object.
This API requires the following crate features to be activated: IdbIndex
Setter for the name
field of this object.
This API requires the following crate features to be activated: IdbIndex
Getter for the objectStore
field of this object.
This API requires the following crate features to be activated: IdbIndex
, IdbObjectStore
Getter for the multiEntry
field of this object.
This API requires the following crate features to be activated: IdbIndex
Getter for the unique
field of this object.
This API requires the following crate features to be activated: IdbIndex
Getter for the locale
field of this object.
This API requires the following crate features to be activated: IdbIndex
Getter for the isAutoLocale
field of this object.
This API requires the following crate features to be activated: IdbIndex
The count()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The count()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The get()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The getAll()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The getAll()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
pub fn get_all_with_key_and_limit(
&self,
key: &JsValue,
limit: u32
) -> Result<IdbRequest, JsValue>
pub fn get_all_with_key_and_limit(
&self,
key: &JsValue,
limit: u32
) -> Result<IdbRequest, JsValue>
The getAll()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The getAllKeys()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The getAllKeys()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
pub fn get_all_keys_with_key_and_limit(
&self,
key: &JsValue,
limit: u32
) -> Result<IdbRequest, JsValue>
pub fn get_all_keys_with_key_and_limit(
&self,
key: &JsValue,
limit: u32
) -> Result<IdbRequest, JsValue>
The getAllKeys()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The getKey()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The openCursor()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The openCursor()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
pub fn open_cursor_with_range_and_direction(
&self,
range: &JsValue,
direction: IdbCursorDirection
) -> Result<IdbRequest, JsValue>
pub fn open_cursor_with_range_and_direction(
&self,
range: &JsValue,
direction: IdbCursorDirection
) -> Result<IdbRequest, JsValue>
The openCursor()
method.
This API requires the following crate features to be activated: IdbCursorDirection
, IdbIndex
, IdbRequest
The openKeyCursor()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
The openKeyCursor()
method.
This API requires the following crate features to be activated: IdbIndex
, IdbRequest
pub fn open_key_cursor_with_range_and_direction(
&self,
range: &JsValue,
direction: IdbCursorDirection
) -> Result<IdbRequest, JsValue>
pub fn open_key_cursor_with_range_and_direction(
&self,
range: &JsValue,
direction: IdbCursorDirection
) -> Result<IdbRequest, JsValue>
The openKeyCursor()
method.
This API requires the following crate features to be activated: IdbCursorDirection
, IdbIndex
, IdbRequest
Trait Implementations
Performs a dynamic instanceof
check to see whether the JsValue
provided is an instance of this type. Read more
Performs a zero-cost unchecked conversion from a JsValue
into an
instance of Self
Read more
Performs a zero-cost unchecked conversion from a &JsValue
into an
instance of &Self
. Read more
Test whether this JS value has a type T
. Read more
Performs a dynamic cast (checked at runtime) of this value into the
target type T
. Read more
Performs a dynamic cast (checked at runtime) of this value into the
target type T
. Read more
Performs a zero-cost unchecked cast into the specified type. Read more
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Test whether this JS value is an instance of the type T
. Read more
Performs a dynamic check to see whether the JsValue
provided
is a value of this type. Read more
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self
are recovered from.
type Anchor = ManuallyDrop<IdbIndex>
type Anchor = ManuallyDrop<IdbIndex>
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
Recover a Self::Anchor
from Self::Abi
. Read more
Auto Trait Implementations
impl RefUnwindSafe for IdbIndex
impl UnwindSafe for IdbIndex
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more