pub trait ConfigAccount {
    fn init(&mut self, admin: Pubkey, worker_pool: Pubkey) -> Result<()>;
    fn update(&mut self, settings: ConfigSettings) -> Result<()>;
}
Expand description

Trait for reading and writing to the config account.

Required Methods

Initialize the account to hold config object.

Updates the config object.

Implementations on Foreign Types

Implementors