Struct cosmwasm_storage::ReadonlySingleton [−][src]
pub struct ReadonlySingleton<'a, T> where
T: Serialize + DeserializeOwned, { /* fields omitted */ }
Expand description
ReadonlySingleton only requires a Storage and exposes only the methods of Singleton that don’t modify state.
Implementations
load will return an error if no data is set at the given key, or on parse error