Trait anchor_lang::CheckOwner
source · pub trait CheckOwner {
// Required method
fn check_owner(owner: &Pubkey) -> Result<()>;
}
Expand description
Defines a trait for checking the owner of a program.
Required Methods§
fn check_owner(owner: &Pubkey) -> Result<()>
Object Safety§
This trait is not object safe.