Skip to main content

WithStore

Trait WithStore 

Source
pub trait WithStore<'info> {
    // Required methods
    fn store_program(&self) -> AccountInfo<'info>;
    fn store(&self) -> AccountInfo<'info>;
}
Expand description

With Store.

Required Methods§

Source

fn store_program(&self) -> AccountInfo<'info>

Get data store program.

Source

fn store(&self) -> AccountInfo<'info>

Get data store.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§