pub enum OcaType {
None,
Cancel,
Reduce,
}Expand description
What happens to the other orders in a One-Cancels-All group when one of them
fills, from strategy.oca.*.
Variants§
None
Not in an OCA group.
Cancel
Cancel the group’s other unfilled orders.
Reduce
Shrink the group’s other unfilled orders by the filled size.
Trait Implementations§
impl Copy for OcaType
impl Eq for OcaType
impl StructuralPartialEq for OcaType
Auto Trait Implementations§
impl Freeze for OcaType
impl RefUnwindSafe for OcaType
impl Send for OcaType
impl Sync for OcaType
impl Unpin for OcaType
impl UnsafeUnpin for OcaType
impl UnwindSafe for OcaType
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