pub struct PriceConversionError(/* private fields */);Trait Implementations§
Source§impl Debug for PriceConversionError
impl Debug for PriceConversionError
Source§impl From<PriceConversionError> for ProgramError
impl From<PriceConversionError> for ProgramError
Source§fn from(value: PriceConversionError) -> Self
fn from(value: PriceConversionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PriceConversionError
impl RefUnwindSafe for PriceConversionError
impl Send for PriceConversionError
impl Sync for PriceConversionError
impl Unpin for PriceConversionError
impl UnwindSafe for PriceConversionError
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
Source§impl<T> DerefOrBorrow<T> for Twhere
T: ?Sized,
impl<T> DerefOrBorrow<T> for Twhere
T: ?Sized,
fn deref_or_borrow(&self) -> &T
Source§impl<T> DerefOrBorrowMut<T> for Twhere
T: ?Sized,
impl<T> DerefOrBorrowMut<T> for Twhere
T: ?Sized,
fn deref_or_borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more