pub trait SplDiscriminate {
    const SPL_DISCRIMINATOR: ArrayDiscriminator;
    const SPL_DISCRIMINATOR_SLICE: &'static [u8] = _;
}
Expand description

A trait for managing 8-byte discriminators in a slab of bytes

Required Associated Constants§

source

const SPL_DISCRIMINATOR: ArrayDiscriminator

The 8-byte discriminator as a [u8; 8]

Provided Associated Constants§

source

const SPL_DISCRIMINATOR_SLICE: &'static [u8] = _

The 8-byte discriminator as a slice (&[u8])

Object Safety§

This trait is not object safe.

Implementors§