pub enum FsmError {
UnknownOrder(ClientOrderId),
InvalidTransition {
from: &'static str,
signal: &'static str,
},
}Expand description
Why a signal could not be applied.
Variants§
UnknownOrder(ClientOrderId)
OrderRegistry::apply was given a client order id it does not track.
InvalidTransition
The signal is not valid in the order’s current state. The state is left as it was.
Trait Implementations§
impl Eq for FsmError
impl StructuralPartialEq for FsmError
Auto Trait Implementations§
impl Freeze for FsmError
impl RefUnwindSafe for FsmError
impl Send for FsmError
impl Sync for FsmError
impl Unpin for FsmError
impl UnsafeUnpin for FsmError
impl UnwindSafe for FsmError
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