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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".