pub enum ErcAction {
RetryWithCorrection {
field: &'static str,
},
EscalateToOperator {
reason: &'static str,
},
AbortProcess,
WaitAndRetry {
reason: &'static str,
},
}Expand description
Recommended automated response for a received ERC rejection code.
This is advice, not a hard rule. The ERP decides whether to follow it based on local policy, retry budget, and operator escalation settings.
Source: BDEW APERAK AHB 1.0; CONTRL AHB 1.0; Allgemeine Festlegungen V6.1d §4.
Variants§
RetryWithCorrection
Correct the named field and re-submit the process.
Fields
EscalateToOperator
Escalate to an operator for manual investigation.
AbortProcess
Abort the process — the counterparty has definitively rejected it.
WaitAndRetry
Wait for a conflicting in-flight process to finish, then retry.
Trait Implementations§
impl Eq for ErcAction
impl StructuralPartialEq for ErcAction
Auto Trait Implementations§
impl Freeze for ErcAction
impl RefUnwindSafe for ErcAction
impl Send for ErcAction
impl Sync for ErcAction
impl Unpin for ErcAction
impl UnsafeUnpin for ErcAction
impl UnwindSafe for ErcAction
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