uniffi_lipalightninglib

Type Alias PayResult

source
pub type PayResult<T> = Result<T, PayError>;

Aliased Type§

enum PayResult<T> {
    Ok(T),
    Err(Error<PayErrorCode>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error<PayErrorCode>)

Contains the error value