Type Alias specs::storage::InsertResult
source · pub type InsertResult<T> = Result<Option<T>, Error>;
Expand description
The status of an insert()
ion into a storage.
If the insertion was successful then the Ok value will
contain the component that was replaced (if any).
Aliased Type§
enum InsertResult<T> {
Ok(Option<T>),
Err(Error),
}