pub trait SnapshotAccount {
fn pubkey(&self) -> Pubkey;
fn init(&mut self, id: u64) -> Result<()>;
fn capture(
&mut self,
entry: &mut Account<'_, SnapshotEntry>,
node: &Account<'_, Node>,
stake: &Account<'_, TokenAccount>
) -> Result<()>;
}
Expand description
SnapshotAccount