[][src]Struct cosmwasm_storage::PrefixedStorage

pub struct PrefixedStorage<'a, S> where
    S: Storage
{ /* fields omitted */ }

Implementations

impl<'a, S> PrefixedStorage<'a, S> where
    S: Storage
[src]

pub fn new(storage: &'a mut S, namespace: &[u8]) -> Self[src]

pub fn multilevel(storage: &'a mut S, namespaces: &[&[u8]]) -> Self[src]

Trait Implementations

impl<'a, S> ReadonlyStorage for PrefixedStorage<'a, S> where
    S: Storage
[src]

impl<'a, S> Storage for PrefixedStorage<'a, S> where
    S: Storage
[src]

Auto Trait Implementations

impl<'a, S> RefUnwindSafe for PrefixedStorage<'a, S> where
    S: RefUnwindSafe

impl<'a, S> Send for PrefixedStorage<'a, S> where
    S: Send

impl<'a, S> Sync for PrefixedStorage<'a, S> where
    S: Sync

impl<'a, S> Unpin for PrefixedStorage<'a, S>

impl<'a, S> !UnwindSafe for PrefixedStorage<'a, S>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.