pub trait AccountReader {
// Required method
fn account_data(&self, key: &Pubkey) -> Option<Vec<u8>>;
}Expand description
Anything that can fetch raw account data (LiteSVM, RPC, a cache).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".