Struct oasis_runtime_sdk::storage::MKVSStore
source · pub struct MKVSStore<M: MKVS> { /* private fields */ }
Expand description
A key-value store backed by MKVS.
Implementations§
Trait Implementations§
source§impl<M: MKVS> NestedStore for MKVSStore<M>
impl<M: MKVS> NestedStore for MKVSStore<M>
source§fn has_pending_updates(&self) -> bool
fn has_pending_updates(&self) -> bool
Whether there are any store updates pending to be committed.
source§fn pending_update_byte_size(&self) -> usize
fn pending_update_byte_size(&self) -> usize
Size (in bytes) of any pending updates.
Auto Trait Implementations§
impl<M> Freeze for MKVSStore<M>where
M: Freeze,
impl<M> RefUnwindSafe for MKVSStore<M>where
M: RefUnwindSafe,
impl<M> Send for MKVSStore<M>where
M: Send,
impl<M> Sync for MKVSStore<M>where
M: Sync,
impl<M> Unpin for MKVSStore<M>where
M: Unpin,
impl<M> UnwindSafe for MKVSStore<M>where
M: UnwindSafe,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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