pub enum AekoRustSdkError {
Http(Error),
Json(Error),
InvalidAccountOwner {
label: &'static str,
expected: String,
found: String,
},
DecodeAccount {
label: &'static str,
},
Rpc(String),
}Variants§
Trait Implementations§
Source§impl Debug for AekoRustSdkError
impl Debug for AekoRustSdkError
Source§impl Display for AekoRustSdkError
impl Display for AekoRustSdkError
Source§impl Error for AekoRustSdkError
impl Error for AekoRustSdkError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for AekoRustSdkError
impl From<Error> for AekoRustSdkError
Auto Trait Implementations§
impl Freeze for AekoRustSdkError
impl !RefUnwindSafe for AekoRustSdkError
impl Send for AekoRustSdkError
impl Sync for AekoRustSdkError
impl Unpin for AekoRustSdkError
impl UnsafeUnpin for AekoRustSdkError
impl !UnwindSafe for AekoRustSdkError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more