pub enum L3Error {
PriceIsZero,
OrderDoesNotExist(OrderId),
IcebergQuantityIsBiggerThanWholeAmount,
}Variants§
Trait Implementations§
impl Eq for L3Error
Source§impl Error for L3Error
impl Error for L3Error
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<L3Error> for OrderBookError
impl From<L3Error> for OrderBookError
impl StructuralPartialEq for L3Error
Auto Trait Implementations§
impl Forget for L3Error
impl Freeze for L3Error
impl RefUnwindSafe for L3Error
impl Send for L3Error
impl Sync for L3Error
impl Unpin for L3Error
impl UnsafeUnpin for L3Error
impl UnwindSafe for L3Error
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