Struct oasis_core_runtime::storage::mkvs::sync::NoopReadSyncer
source · pub struct NoopReadSyncer;
Expand description
A no-op read syncer which doesn’t support any of the required operations.
Trait Implementations§
source§impl ReadSync for NoopReadSyncer
impl ReadSync for NoopReadSyncer
source§fn sync_get(&mut self, _request: GetRequest) -> Result<ProofResponse>
fn sync_get(&mut self, _request: GetRequest) -> Result<ProofResponse>
Fetch a single key and returns the corresponding proof.
source§fn sync_get_prefixes(
&mut self,
_request: GetPrefixesRequest,
) -> Result<ProofResponse>
fn sync_get_prefixes( &mut self, _request: GetPrefixesRequest, ) -> Result<ProofResponse>
Fetch all keys under the given prefixes and returns the corresponding proofs.
source§fn sync_iterate(&mut self, _request: IterateRequest) -> Result<ProofResponse>
fn sync_iterate(&mut self, _request: IterateRequest) -> Result<ProofResponse>
Seek to a given key and then fetch the specified number of following items
based on key iteration order.
Auto Trait Implementations§
impl Freeze for NoopReadSyncer
impl RefUnwindSafe for NoopReadSyncer
impl Send for NoopReadSyncer
impl Sync for NoopReadSyncer
impl Unpin for NoopReadSyncer
impl UnwindSafe for NoopReadSyncer
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