ic_cdk::storage

Function stable_restore

Source
pub fn stable_restore<T>() -> Result<T, String>
where T: for<'de> ArgumentDecoder<'de>,
Expand description

Restores a value from the stable memory to the storage.

There can only be one value in stable memory, currently.