#[non_exhaustive]pub enum EventLogRefusal {
MissingCaseId,
MissingActivity,
MissingTimestamp,
EmptyTrace,
NonMonotonicTrace,
DuplicateEvent,
InvalidLifecycle,
}Expand description
The specific, named laws under which case-centric event-log structure is refused.
Each variant is a distinct law with a meaning auditors can cite — never a
catch-all “invalid input”. These describe structural defects only; they say
nothing about model quality (that is a wasm4pm concern).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingCaseId
A trace carries an empty case identifier.
MissingActivity
An event carries an empty activity name.
MissingTimestamp
A timestamp was required by policy but absent.
EmptyTrace
A trace contains no events.
NonMonotonicTrace
Consecutive timestamps decrease — the trace is not time-monotonic.
DuplicateEvent
The same event occurs twice where uniqueness was required.
InvalidLifecycle
A lifecycle transition is malformed or out of its declared alphabet.
Trait Implementations§
Source§impl Clone for EventLogRefusal
impl Clone for EventLogRefusal
Source§fn clone(&self) -> EventLogRefusal
fn clone(&self) -> EventLogRefusal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EventLogRefusal
Source§impl Debug for EventLogRefusal
impl Debug for EventLogRefusal
Source§impl Display for EventLogRefusal
impl Display for EventLogRefusal
impl Eq for EventLogRefusal
Source§impl Hash for EventLogRefusal
impl Hash for EventLogRefusal
Source§impl PartialEq for EventLogRefusal
impl PartialEq for EventLogRefusal
Source§fn eq(&self, other: &EventLogRefusal) -> bool
fn eq(&self, other: &EventLogRefusal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventLogRefusal
Auto Trait Implementations§
impl Freeze for EventLogRefusal
impl RefUnwindSafe for EventLogRefusal
impl Send for EventLogRefusal
impl Sync for EventLogRefusal
impl Unpin for EventLogRefusal
impl UnsafeUnpin for EventLogRefusal
impl UnwindSafe for EventLogRefusal
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