Skip to main content

TransferResult

Type Alias TransferResult 

Source
pub type TransferResult = Result<BlockIndex, TransferError>;
Expand description

The result type for a transfer, which can either be a BlockIndex or a TransferError.

Aliased Type§

pub enum TransferResult {
    Ok(Nat),
    Err(TransferError),
}

Variants§

§1.0.0

Ok(Nat)

Contains the success value

§1.0.0

Err(TransferError)

Contains the error value