pub enum TradeIntentProjectionError {
InvalidIntent(IntentValidationError),
MissingContext(&'static str),
Unsupported(&'static str),
InvalidValue(String),
}Variants§
InvalidIntent(IntentValidationError)
MissingContext(&'static str)
Unsupported(&'static str)
InvalidValue(String)
Trait Implementations§
Source§impl Clone for TradeIntentProjectionError
impl Clone for TradeIntentProjectionError
Source§fn clone(&self) -> TradeIntentProjectionError
fn clone(&self) -> TradeIntentProjectionError
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 moreSource§impl Debug for TradeIntentProjectionError
impl Debug for TradeIntentProjectionError
Source§impl Display for TradeIntentProjectionError
impl Display for TradeIntentProjectionError
Source§impl Error for TradeIntentProjectionError
impl Error for TradeIntentProjectionError
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<IntentValidationError> for TradeIntentProjectionError
impl From<IntentValidationError> for TradeIntentProjectionError
Source§fn from(source: IntentValidationError) -> Self
fn from(source: IntentValidationError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for TradeIntentProjectionError
Auto Trait Implementations§
impl Freeze for TradeIntentProjectionError
impl RefUnwindSafe for TradeIntentProjectionError
impl Send for TradeIntentProjectionError
impl Sync for TradeIntentProjectionError
impl Unpin for TradeIntentProjectionError
impl UnsafeUnpin for TradeIntentProjectionError
impl UnwindSafe for TradeIntentProjectionError
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