pub trait ThreadAccount {
    // Required methods
    fn pubkey(&self) -> Pubkey;
    fn realloc(&mut self) -> Result<()>;
}
Expand description

Trait for reading and writing to a thread account.

Required Methods§

source

fn pubkey(&self) -> Pubkey

Get the pubkey of the thread account.

source

fn realloc(&mut self) -> Result<()>

Allocate more memory for the account.

Implementations on Foreign Types§

source§

impl ThreadAccount for Account<'_, Thread>

source§

fn pubkey(&self) -> Pubkey

source§

fn realloc(&mut self) -> Result<()>

Implementors§