pub enum CancelError {
OrderNotFound,
OrderNotActive,
}Expand description
Errors that can occur when cancelling an order.
Variants§
Trait Implementations§
Source§impl Clone for CancelError
impl Clone for CancelError
Source§fn clone(&self) -> CancelError
fn clone(&self) -> CancelError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CancelError
impl Debug for CancelError
Source§impl PartialEq for CancelError
impl PartialEq for CancelError
impl Copy for CancelError
impl Eq for CancelError
impl StructuralPartialEq for CancelError
Auto Trait Implementations§
impl Freeze for CancelError
impl RefUnwindSafe for CancelError
impl Send for CancelError
impl Sync for CancelError
impl Unpin for CancelError
impl UnwindSafe for CancelError
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