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

SnapshotAccount

Required Methods§

source

fn pubkey(&self) -> Pubkey

source

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

Implementations on Foreign Types§

source§

impl SnapshotAccount for Account<'_, Snapshot>

source§

fn pubkey(&self) -> Pubkey

source§

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

Implementors§