Type Alias spl_transfer_hook_interface::offchain::AccountDataResult
source · pub type AccountDataResult = Result<Option<Vec<u8>>, Box<dyn Error + Sync + Send>>;
Expand description
Type representing the output of an account fetching function, for easy chaining between APIs
Aliased Type§
enum AccountDataResult {
Ok(Option<Vec<u8>>),
Err(Box<dyn Error + Sync + Send>),
}