Trait anchor_lang::CheckId

source ·
pub trait CheckId {
    // Required method
    fn check_id(id: &Pubkey) -> Result<()>;
}
Expand description

Defines a trait for checking the id of a program.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Ids> CheckId for T