Struct cosmwasm_storage::ReadonlyBucket [−][src]
pub struct ReadonlyBucket<'a, T> where
T: Serialize + DeserializeOwned, { /* fields omitted */ }
Implementations
load will return an error if no data is set at the given key, or on parse error
may_load will parse the data stored at the key if present, returns Ok(None) if no data there. returns an error on issues parsing