Struct cosmwasm_vm::testing::MockStorage [−][src]
pub struct MockStorage { /* fields omitted */ }Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Returns Err on error.
Returns Ok(None) when key does not exist.
Returns Ok(Some(Vec
Allows iteration over a set of key/value pairs, either forwards or backwards. Returns an interator ID that is unique within the Storage instance. Read more
Returns the next element of the iterator with the given ID. Read more
Auto Trait Implementations
impl RefUnwindSafe for MockStorage
impl Send for MockStorage
impl Sync for MockStorage
impl Unpin for MockStorage
impl UnwindSafe for MockStorage
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more