pub trait Discriminator {
const DISCRIMINATOR: [u8; 8];
// Provided method
fn discriminator() -> [u8; 8] { ... }
}
Expand description
Traits pulled out of anchor-lang library to remove dependency conflicts for users.
Required Associated Constants§
const DISCRIMINATOR: [u8; 8]
Provided Methods§
fn discriminator() -> [u8; 8]
Object Safety§
This trait is not object safe.