Struct fadroma::prelude::cosmwasm_storage::PrefixedStorage
source · [−]pub struct PrefixedStorage<'a, T> where
T: Storage, { /* private fields */ }
Implementations
sourceimpl<'a, T> PrefixedStorage<'a, T> where
T: Storage,
impl<'a, T> PrefixedStorage<'a, T> where
T: Storage,
Trait Implementations
sourceimpl<'a, T> ReadonlyStorage for PrefixedStorage<'a, T> where
T: Storage,
impl<'a, T> ReadonlyStorage for PrefixedStorage<'a, T> where
T: Storage,
sourcefn range(
&'b self,
start: Option<&[u8]>,
end: Option<&[u8]>,
order: Order
) -> Box<dyn Iterator<Item = (Vec<u8, Global>, Vec<u8, Global>)> + 'b, Global>
fn range(
&'b self,
start: Option<&[u8]>,
end: Option<&[u8]>,
order: Order
) -> Box<dyn Iterator<Item = (Vec<u8, Global>, Vec<u8, Global>)> + 'b, Global>
range allows iteration over a set of keys, either forwards or backwards uses standard rust range notation, and eg db.range(b“foo“..b“bar“) also works reverse
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for PrefixedStorage<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for PrefixedStorage<'a, T> where
T: Send,
impl<'a, T> Sync for PrefixedStorage<'a, T> where
T: Sync,
impl<'a, T> Unpin for PrefixedStorage<'a, T>
impl<'a, T> !UnwindSafe for PrefixedStorage<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more