pub trait PoolAccount {
    fn pubkey(&self) -> Pubkey;
    fn init(&mut self, id: u64) -> Result<()>;
    fn rotate(&mut self, worker: Pubkey) -> Result<()>;
    fn update(&mut self, settings: &PoolSettings) -> Result<()>;
}
Expand description

PoolAccount

Required Methods§

Implementations on Foreign Types§

Implementors§