pub trait QueueAccount {
// Required methods
fn init(
&mut self,
authority: Pubkey,
id: String,
kickoff_instruction: InstructionData,
trigger: Trigger,
) -> Result<()>;
fn crank(
&mut self,
account_infos: &[AccountInfo<'_>],
bump: u8,
worker: &Signer<'_>,
) -> Result<()>;
fn realloc(&mut self) -> Result<()>;
}Expand description
QueueAccount