pub trait SnapshotAccount {
    // Required methods
    fn pubkey(&self) -> Pubkey;
    fn init(&mut self, id: u64) -> Result<(), Error>;
}
Expand description

SnapshotAccount

Required Methods§

source

fn pubkey(&self) -> Pubkey

source

fn init(&mut self, id: u64) -> Result<(), Error>

Implementations on Foreign Types§

source§

impl SnapshotAccount for Account<'_, Snapshot>

source§

fn pubkey(&self) -> Pubkey

source§

fn init(&mut self, id: u64) -> Result<(), Error>

Implementors§