pub trait ExtraMetas<'info>: Sized {
// Required methods
fn from_accounts(
accounts: &[AccountInfo<'info>],
) -> Result<Self, ProgramError>;
fn to_extra_account_metas() -> Vec<ExtraAccountMeta>;
}Required Methods§
fn from_accounts(accounts: &[AccountInfo<'info>]) -> Result<Self, ProgramError>
fn to_extra_account_metas() -> Vec<ExtraAccountMeta>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".