Type Alias concordium_std::UpgradeResult

source ·
pub type UpgradeResult = Result<(), UpgradeError>;
Expand description

A wrapper around Result that fixes the error variant to UpgradeError and result to ().

Aliased Type§

enum UpgradeResult {
    Ok(()),
    Err(UpgradeError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(UpgradeError)

Contains the error value