pub trait BaseState: PackedSizeOf + IsInitialized {
const ACCOUNT_TYPE: AccountType;
}
Expand description
Trait for base states, specifying the associated enum
Required Associated Constants§
Sourceconst ACCOUNT_TYPE: AccountType
const ACCOUNT_TYPE: AccountType
Associated extension type enum, checked at the start of TLV entries
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.