#[non_exhaustive]pub enum CallKind {
Turn {
turn: u32,
step: u32,
},
Auxiliary {
purpose: String,
},
}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.
Turn
A call the turn loop made.
Fields
Auxiliary
A call made outside any turn: compaction, memory extraction, permission classification, session titling, a hook.
purpose is a free string on purpose. The set grows with the engine,
and an enum would mean editing this crate for every addition; the
conventional values are the constants in call_purpose. Readers
treat it as opaque, and it takes no part in replay divergence checks —
renaming a classification must not turn a passing replay red.
Trait Implementations§
impl Eq for CallKind
impl StructuralPartialEq for CallKind
Auto Trait Implementations§
impl Forget for CallKind
impl Freeze for CallKind
impl Move for CallKind
impl RefUnwindSafe for CallKind
impl Send for CallKind
impl Sync for CallKind
impl Unpin for CallKind
impl UnsafeUnpin for CallKind
impl UnwindSafe for CallKind
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