zink::storage

Trait TransientStorageValue

Source
pub trait TransientStorageValue: Asm {
    // Required method
    fn tload() -> Self;
}
Expand description

Interface for the value of kv based transient storage

Required Methods§

Source

fn tload() -> Self

Load from transient storage

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TransientStorageValue for i32

Source§

fn tload() -> Self

Source§

impl TransientStorageValue for u32

Source§

fn tload() -> Self

Implementors§