pub struct Transaction<Err> { /* private fields */ }
Expand description
Wrapper for IDBTransaction
Implementations§
Source§impl<Err> Transaction<Err>
impl<Err> Transaction<Err>
Sourcepub fn object_store(&self, name: &str) -> Result<ObjectStore<Err>, Err>
pub fn object_store(&self, name: &str) -> Result<ObjectStore<Err>, Err>
Returns an ObjectStore
that can be used to operate on data in this transaction
Internally, this uses IDBTransaction::objectStore
.
Trait Implementations§
Auto Trait Implementations§
impl<Err> Freeze for Transaction<Err>
impl<Err> RefUnwindSafe for Transaction<Err>where
Err: RefUnwindSafe,
impl<Err> !Send for Transaction<Err>
impl<Err> !Sync for Transaction<Err>
impl<Err> Unpin for Transaction<Err>where
Err: Unpin,
impl<Err> UnwindSafe for Transaction<Err>where
Err: UnwindSafe,
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