referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_contracts::GetStorageResult

source ·
pub type GetStorageResult = Result<Option<Vec<u8>>, ContractAccessError>;
Expand description

Result type of a get_storage call.

Aliased Type§

enum GetStorageResult {
    Ok(Option<Vec<u8>>),
    Err(ContractAccessError),
}

Variants§

§1.0.0

Ok(Option<Vec<u8>>)

Contains the success value

§1.0.0

Err(ContractAccessError)

Contains the error value