pub struct ExponentMismatch {
pub expected: i8,
pub actual: i8,
}Expand description
Exponent mismatch converting a FixValue into a typed Fix.
Fields§
§expected: i8§actual: i8Trait Implementations§
Source§impl Clone for ExponentMismatch
impl Clone for ExponentMismatch
Source§fn clone(&self) -> ExponentMismatch
fn clone(&self) -> ExponentMismatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExponentMismatch
Source§impl Debug for ExponentMismatch
impl Debug for ExponentMismatch
Source§impl Display for ExponentMismatch
impl Display for ExponentMismatch
impl Eq for ExponentMismatch
Source§impl Error for ExponentMismatch
impl Error for ExponentMismatch
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 From<ExponentMismatch> for Error
impl From<ExponentMismatch> for Error
Source§fn from(_: ExponentMismatch) -> AnchorError
fn from(_: ExponentMismatch) -> AnchorError
Converts to this type from the input type.
Source§impl PartialEq for ExponentMismatch
impl PartialEq for ExponentMismatch
Source§fn eq(&self, other: &ExponentMismatch) -> bool
fn eq(&self, other: &ExponentMismatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExponentMismatch
Auto Trait Implementations§
impl Freeze for ExponentMismatch
impl RefUnwindSafe for ExponentMismatch
impl Send for ExponentMismatch
impl Sync for ExponentMismatch
impl Unpin for ExponentMismatch
impl UnsafeUnpin for ExponentMismatch
impl UnwindSafe for ExponentMismatch
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