Enum spl_token_client::token::TokenError
source ·
[−]pub enum TokenError {
Client(ProgramClientError),
Program(ProgramError),
AccountNotFound,
AccountInvalidOwner,
AccountInvalidMint,
}Variants
Client(ProgramClientError)
Tuple Fields
Program(ProgramError)
AccountNotFound
AccountInvalidOwner
AccountInvalidMint
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TokenError
impl Send for TokenError
impl Sync for TokenError
impl Unpin for TokenError
impl !UnwindSafe for TokenError
Blanket Implementations
pub default fn example() -> T
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
