pub struct EvalStatus {
pub durable_pos: u64,
pub degraded: bool,
}Expand description
Outcome of a single policy evaluation.
durable_pos is the highest sequence at which every clause is
satisfied. degraded is true iff at least one clause’s count
exceeds the current cursor view’s size — i.e. the policy is
structurally unsatisfiable until more nodes connect, and the gate
is therefore stalled. Operators surface this via /healthz and a
periodic warn-level log.
Fields§
§durable_pos: u64§degraded: boolTrait Implementations§
Source§impl Clone for EvalStatus
impl Clone for EvalStatus
Source§fn clone(&self) -> EvalStatus
fn clone(&self) -> EvalStatus
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 moreSource§impl Debug for EvalStatus
impl Debug for EvalStatus
Source§impl PartialEq for EvalStatus
impl PartialEq for EvalStatus
Source§fn eq(&self, other: &EvalStatus) -> bool
fn eq(&self, other: &EvalStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EvalStatus
impl Eq for EvalStatus
impl StructuralPartialEq for EvalStatus
Auto Trait Implementations§
impl Freeze for EvalStatus
impl RefUnwindSafe for EvalStatus
impl Send for EvalStatus
impl Sync for EvalStatus
impl Unpin for EvalStatus
impl UnsafeUnpin for EvalStatus
impl UnwindSafe for EvalStatus
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