Enum ReduceError
pub enum ReduceError {
UnknownCommandId(String),
UnknownIntentId(String),
MissingEnvelopeFields,
RiskDecisionUnknownIntent(String),
ExecutionCommandUnknownIntent(String),
DuplicateIntentId(String),
DuplicateCommandId(String),
RiskStateMismatch {
actual: RiskStopState,
claimed: RiskStopState,
},
IllegalRiskTransition {
from: RiskStopState,
to: RiskStopState,
},
VelocityGateMismatch {
actual: VelocityGateLevel,
claimed: VelocityGateLevel,
},
InvalidFillQty(Decimal),
}Variants§
UnknownCommandId(String)
UnknownIntentId(String)
MissingEnvelopeFields
RiskDecisionUnknownIntent(String)
ExecutionCommandUnknownIntent(String)
DuplicateIntentId(String)
DuplicateCommandId(String)
RiskStateMismatch
IllegalRiskTransition
VelocityGateMismatch
InvalidFillQty(Decimal)
Trait Implementations§
§impl Clone for ReduceError
impl Clone for ReduceError
§fn clone(&self) -> ReduceError
fn clone(&self) -> ReduceError
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl Error for ReduceError
impl Error for ReduceError
§impl From<ReduceError> for ReplayError
impl From<ReduceError> for ReplayError
§fn from(source: ReduceError) -> Self
fn from(source: ReduceError) -> Self
Auto Trait Implementations§
impl Freeze for ReduceError
impl RefUnwindSafe for ReduceError
impl Send for ReduceError
impl Sync for ReduceError
impl Unpin for ReduceError
impl UnsafeUnpin for ReduceError
impl UnwindSafe for ReduceError
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)