pub trait QueueAccount {
// Required methods
fn process(&mut self) -> Result<()>;
fn new(
&mut self,
authority: Pubkey,
name: String,
schedule: String,
) -> Result<()>;
fn next_process_at(&self, ts: i64) -> Option<i64>;
fn roll_forward(&mut self) -> Result<()>;
fn sign(
&self,
account_infos: &[AccountInfo<'_>],
bump: u8,
ix: &InstructionData,
) -> Result<Option<TaskResponse>>;
}Expand description
QueueAccount