pub type AccountDataResult = Result<Option<Vec<u8, Global>>, Box<dyn Error + Send + Sync, Global>>;
Expand description

Type representing the output of an account fetching function, for easy chaining between APIs

Aliased Type§

enum AccountDataResult {
    Ok(Option<Vec<u8, Global>>),
    Err(Box<dyn Error + Send + Sync, Global>),
}

Variants§

§1.0.0

Ok(Option<Vec<u8, Global>>)

Contains the success value

§1.0.0

Err(Box<dyn Error + Send + Sync, Global>)

Contains the error value