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