Trait anchor_lang::AccountsClose
source · [−]pub trait AccountsClose<'info>: ToAccountInfos<'info> {
fn close(&self, sol_destination: AccountInfo<'info>) -> ProgramResult;
}
Expand description
The close procedure to initiate garabage collection of an account, allowing one to retrieve the rent exemption.