pub struct NextStateEndpoint { /* private fields */ }Expand description
Untrusted original source context for a Next error before any successor. The fresh validator enumerates the real configured actions independently; this descriptor selects no expression, action, scope or cached value.
Implementations§
Source§impl NextStateEndpoint
impl NextStateEndpoint
Sourcepub fn from_error(ir: &Ir, error: &EvalError) -> Option<Self>
pub fn from_error(ir: &Ir, error: &EvalError) -> Option<Self>
Records an observed evaluation error’s original source, without proof. The producer separately requires the typed Next error site.
let origin = dive_trace::NextStateEndpoint::from_error(ir, error);
// The descriptor must still be checked by fresh independent replay.Sourcepub fn from_ordered_error(
ir: &Ir,
error: &EvalError,
reported: u32,
deciding: u32,
) -> Option<Self>
pub fn from_ordered_error( ir: &Ir, error: &EvalError, reported: u32, deciding: u32, ) -> Option<Self>
Requests actual ordered primary and diagnostic Next replay. Reported and deciding codes are untrusted claims, not classifier overrides.
Sourcepub fn deciding_code(&self) -> Option<u32>
pub fn deciding_code(&self) -> Option<u32>
Claimed deciding code, requiring independent diagnostic replay.
Trait Implementations§
Source§impl Clone for NextStateEndpoint
impl Clone for NextStateEndpoint
Source§impl Debug for NextStateEndpoint
impl Debug for NextStateEndpoint
impl Eq for NextStateEndpoint
Source§impl PartialEq for NextStateEndpoint
impl PartialEq for NextStateEndpoint
impl StructuralPartialEq for NextStateEndpoint
Auto Trait Implementations§
impl Forget for NextStateEndpoint
impl Freeze for NextStateEndpoint
impl Move for NextStateEndpoint
impl RefUnwindSafe for NextStateEndpoint
impl Send for NextStateEndpoint
impl Sync for NextStateEndpoint
impl Unpin for NextStateEndpoint
impl UnsafeUnpin for NextStateEndpoint
impl UnwindSafe for NextStateEndpoint
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