Trait IDBIndexMethods
Source pub trait IDBIndexMethods<D: DomTypes> {
// Required methods
fn Name(&self) -> DOMString;
fn SetName(&self, value: DOMString) -> ErrorResult;
fn ObjectStore(&self) -> DomRoot<D::IDBObjectStore>;
fn KeyPath(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>);
fn MultiEntry(&self) -> bool;
fn Unique(&self) -> bool;
fn OpenCursor(
&self,
cx: &mut JSContext,
query: HandleValue<'_>,
direction: IDBCursorDirection,
) -> Fallible<DomRoot<D::IDBRequest>>;
fn OpenKeyCursor(
&self,
cx: &mut JSContext,
query: HandleValue<'_>,
direction: IDBCursorDirection,
) -> Fallible<DomRoot<D::IDBRequest>>;
}