Enum MatchError
pub enum MatchError {
OrderNotFound(u64),
OrderIdOutOfRange {
order_id: u64,
max_order_id: u64,
},
InvalidPrice(i64),
InvalidQuantity(u64),
RestingQuantityOverflow {
price: i64,
resting_quantity: u64,
incoming_quantity: u64,
},
DuplicateOrderId(u64),
BookFull(usize),
InvalidTimeInForce {
order_type: &'static str,
tif: &'static str,
},
InconsistentQuantity {
remaining: u64,
original: u64,
},
}
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access)
🔬This is a nightly-only experimental API. (clone_to_uninit)