solana_accounts_db::accounts_index

Type Alias ScanResult

source
pub type ScanResult<T> = Result<T, ScanError>;

Aliased Type§

enum ScanResult<T> {
    Ok(T),
    Err(ScanError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ScanError)

Contains the error value