#[non_exhaustive]pub enum KillReason {
Unmatched,
Unfillable,
}Expand description
Why an order was killed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unmatched
An immediate-or-cancel order’s remainder, cancelled because nothing
more matched at once. filled says how much did.
Unfillable
A fill-or-kill order that could not fill in full.
Trait Implementations§
Source§impl Clone for KillReason
impl Clone for KillReason
impl Copy for KillReason
Source§impl Debug for KillReason
impl Debug for KillReason
impl Eq for KillReason
Source§impl Hash for KillReason
impl Hash for KillReason
Source§impl PartialEq for KillReason
impl PartialEq for KillReason
impl StructuralPartialEq for KillReason
Auto Trait Implementations§
impl Freeze for KillReason
impl RefUnwindSafe for KillReason
impl Send for KillReason
impl Sync for KillReason
impl Unpin for KillReason
impl UnsafeUnpin for KillReason
impl UnwindSafe for KillReason
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