zink::storage

Trait StorageValue

source
pub trait StorageValue: Asm {
    // Required method
    fn sload() -> Self;
}
Expand description

Interface for the value of kv based storage

Required Methods§

source

fn sload() -> Self

Load from storage

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl StorageValue for i32

source§

fn sload() -> Self

Implementors§