pub trait ThreadAccount {
// Required methods
fn pubkey(&self) -> Pubkey;
fn realloc_account(&mut self) -> Result<()>;
}Expand description
Trait for reading and writing to a thread account.
Required Methods§
sourcefn realloc_account(&mut self) -> Result<()>
fn realloc_account(&mut self) -> Result<()>
Allocate more memory for the account.