Trait switchboard_solana::prelude::AccountsExit
pub trait AccountsExit<'info>: ToAccountMetas + ToAccountInfos<'info> {
// Provided method
fn exit(&self, _program_id: &Pubkey) -> Result<(), Error> { ... }
}
Expand description
The exit procedure for an account. Any cleanup or persistence to storage should be done here.