pub enum ErpEventType {
ProcessInitiated,
AperakAccepted,
AperakRejected,
AperakTimeout,
ContrlReceived,
ProcessCompleted,
MaloIdentified,
ProcessFailed {
reason: Box<str>,
},
}Expand description
Semantic classification of an outbound ERP process event.
The ERP uses this to decide which action to take — update an order status, trigger a billing run, open a complaint ticket, etc.
Variants§
ProcessInitiated
A new MaKo process was spawned (e.g. inbound UTILMD received).
AperakAccepted
The counterparty sent an APERAK accepting our UTILMD.
AperakRejected
The counterparty sent an APERAK rejecting our UTILMD.
AperakTimeout
No APERAK received within the regulatory SLA window (deadline expired).
ContrlReceived
A CONTRL syntax acknowledgement was received.
ProcessCompleted
The process reached its terminal success state (e.g. Lieferbeginn/Lieferende confirmed).
MaloIdentified
A MaLo identification request was successfully resolved: the MaLo was found and the positive callback was delivered to the requesting LF.
The payload field of the associated ErpEvent carries a BO4E
Marktlokation JSON object with the resolved MaLo data.
ProcessFailed
The process failed permanently (regulatory timeout, data error, …).
Implementations§
Trait Implementations§
Source§impl Clone for ErpEventType
impl Clone for ErpEventType
Source§fn clone(&self) -> ErpEventType
fn clone(&self) -> ErpEventType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ErpEventType
impl Debug for ErpEventType
Source§impl<'de> Deserialize<'de> for ErpEventType
impl<'de> Deserialize<'de> for ErpEventType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ErpEventType
Source§impl PartialEq for ErpEventType
impl PartialEq for ErpEventType
Source§fn eq(&self, other: &ErpEventType) -> bool
fn eq(&self, other: &ErpEventType) -> bool
self and other values to be equal, and is used by ==.