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
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for ReadonlyBucket<'a, T>
impl<'a, T> !Send for ReadonlyBucket<'a, T>
impl<'a, T> !Sync for ReadonlyBucket<'a, T>
impl<'a, T> Unpin for ReadonlyBucket<'a, T> where
T: Unpin,
impl<'a, T> !UnwindSafe for ReadonlyBucket<'a, T>