pub trait QueueAccount {
// Required methods
fn start(&mut self) -> Result<()>;
fn new(
&mut self,
clock: &Sysvar<'_, Clock>,
manager: &mut Account<'_, Manager>,
schedule: String,
) -> Result<()>;
fn next_exec_at(&self, ts: i64) -> Option<i64>;
fn roll_forward(&mut self) -> Result<()>;
}Expand description
QueueAccount