pub type CodeUploadResult<CodeHash, Balance> = Result<CodeUploadReturnValue<CodeHash, Balance>, DispatchError>;
Expand description

Result type of a bare_code_upload call.

Aliased Type§

enum CodeUploadResult<CodeHash, Balance> {
    Ok(CodeUploadReturnValue<CodeHash, Balance>),
    Err(DispatchError),
}

Variants§

§1.0.0

Ok(CodeUploadReturnValue<CodeHash, Balance>)

Contains the success value

§1.0.0

Err(DispatchError)

Contains the error value