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