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.

Required methods

Implementors