ic_icrc_tx::parser::response

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§

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