pub trait TestRpc: Rpc + Sized {
// Required methods
fn set_account(&mut self, address: Pubkey, account: Account);
fn warp_to_slot(&mut self, slot: Slot) -> Result<(), RpcError>;
}
Required Methods§
fn set_account(&mut self, address: Pubkey, account: Account)
fn warp_to_slot(&mut self, slot: Slot) -> Result<(), RpcError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.