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§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Discriminator for OracleAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for OracleStatsAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for QueueAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for RandomnessAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for State

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for GuardianQuoteVerify

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for GuardianQuoteVerifyParams

source§

const DISCRIMINATOR: [u8; 8] = GuardianQuoteVerify::DISCRIMINATOR

source§

impl Discriminator for OracleHeartbeat

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for OracleHeartbeatParams

source§

const DISCRIMINATOR: [u8; 8] = OracleHeartbeat::DISCRIMINATOR

source§

impl Discriminator for OracleSetConfigs

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for OracleSetConfigsParams

source§

const DISCRIMINATOR: [u8; 8] = OracleSetConfigs::DISCRIMINATOR

source§

impl Discriminator for AttestationPermissionSet

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationPermissionSetParams

source§

const DISCRIMINATOR: [u8; 8] = AttestationPermissionSet::DISCRIMINATOR

source§

impl Discriminator for QueueGarbageCollect

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for QueueGarbageCollectParams

source§

const DISCRIMINATOR: [u8; 8] = QueueGarbageCollect::DISCRIMINATOR

source§

impl Discriminator for RandomnessCommit

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for RandomnessCommitParams

source§

const DISCRIMINATOR: [u8; 8] = RandomnessCommit::DISCRIMINATOR