solana_config_program

Trait ConfigState

Source
pub trait ConfigState: Serialize + Default {
    // Required method
    fn max_space() -> u64;
}

Required Methods§

Source

fn max_space() -> u64

Maximum space that the serialized representation will require

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ConfigState for Config

Implementors§