pub enum SpotAccountError {
AssetNotFound,
BalanceNotEnough,
}Variants§
Trait Implementations§
Source§impl Debug for SpotAccountError
impl Debug for SpotAccountError
Source§impl Display for SpotAccountError
impl Display for SpotAccountError
impl Eq for SpotAccountError
Source§impl Error for SpotAccountError
impl Error for SpotAccountError
1.30.0 · 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 PartialEq for SpotAccountError
impl PartialEq for SpotAccountError
impl StructuralPartialEq for SpotAccountError
Auto Trait Implementations§
impl Forget for SpotAccountError
impl Freeze for SpotAccountError
impl RefUnwindSafe for SpotAccountError
impl Send for SpotAccountError
impl Sync for SpotAccountError
impl Unpin for SpotAccountError
impl UnsafeUnpin for SpotAccountError
impl UnwindSafe for SpotAccountError
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