pub struct IndexedDB { /* private fields */ }Implementations§
Source§impl IndexedDB
impl IndexedDB
pub async fn connect() -> Result<Self, IndexedDBError>
pub async fn connect_named(name: &str) -> Result<Self, IndexedDBError>
pub async fn create_object_store( &mut self, name: &str, schema: ObjectStoreSchema, ) -> Result<(), IndexedDBError>
pub async fn delete_object_store( &mut self, name: &str, ) -> Result<(), IndexedDBError>
pub fn object_store(&self, name: &str) -> ObjectStore
Auto Trait Implementations§
impl !Freeze for IndexedDB
impl !RefUnwindSafe for IndexedDB
impl Send for IndexedDB
impl Sync for IndexedDB
impl Unpin for IndexedDB
impl UnsafeUnpin for IndexedDB
impl !UnwindSafe for IndexedDB
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request