Enum safe_token::state::AccountState
source[−]#[repr(u8)]
pub enum AccountState {
Uninitialized,
Initialized,
Frozen,
}
Expand description
Account state.
Variants
Uninitialized
Account is not yet initialized
Initialized
Account is initialized; the account owner and/or delegate may perform permitted operations on this account
Frozen
Account has been frozen by the mint freeze authority. Neither the account owner nor the delegate are able to perform operations on this account.
Trait Implementations
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AccountState
impl Send for AccountState
impl Sync for AccountState
impl Unpin for AccountState
impl UnwindSafe for AccountState
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more