Struct oasis_runtime_sdk::storage::OverlayStore
source · pub struct OverlayStore<S: Store> { /* private fields */ }
Expand description
An overlay store which keeps values locally until explicitly committed.
Implementations§
Trait Implementations§
source§impl<S: Store> NestedStore for OverlayStore<S>
impl<S: Store> NestedStore for OverlayStore<S>
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<S> Freeze for OverlayStore<S>where
S: Freeze,
impl<S> RefUnwindSafe for OverlayStore<S>where
S: RefUnwindSafe,
impl<S> Send for OverlayStore<S>where
S: Send,
impl<S> Sync for OverlayStore<S>where
S: Sync,
impl<S> Unpin for OverlayStore<S>where
S: Unpin,
impl<S> UnwindSafe for OverlayStore<S>where
S: 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