pub enum FutureApplyError {
Core(CoreError),
Pricing(ExecutionError),
InvalidPreparedFill {
position_id: PositionId,
reason: String,
},
}Expand description
Errors raised while preparing or atomically applying FutureQuote state.
Variants§
Trait Implementations§
Source§impl Debug for FutureApplyError
impl Debug for FutureApplyError
Source§impl Display for FutureApplyError
impl Display for FutureApplyError
Source§impl Error for FutureApplyError
impl Error for FutureApplyError
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<CoreError> for FutureApplyError
impl From<CoreError> for FutureApplyError
Source§impl From<ExecutionError> for FutureApplyError
impl From<ExecutionError> for FutureApplyError
Source§fn from(source: ExecutionError) -> Self
fn from(source: ExecutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FutureApplyError
impl RefUnwindSafe for FutureApplyError
impl Send for FutureApplyError
impl Sync for FutureApplyError
impl Unpin for FutureApplyError
impl UnsafeUnpin for FutureApplyError
impl UnwindSafe for FutureApplyError
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