pub struct DurableAdmissionRefusal {
pub proof_state: ProofState,
}Expand description
Refusal payload returned by
AxiomMemoryAdmissionRequest::require_durable_admission_allowed.
Carries the observed CoreProofState (the typed cross-axis state from
ProofClosureReport::state) and surfaces the stable invariant
AXIOM_ADMISSION_PROOF_CLOSURE_INVARIANT in its Display impl so a
log line carrying this error can be grepped for the invariant key.
Fields§
§proof_state: ProofStateObserved cross-axis proof state at the durable-write boundary.
Trait Implementations§
Source§impl Clone for DurableAdmissionRefusal
impl Clone for DurableAdmissionRefusal
Source§fn clone(&self) -> DurableAdmissionRefusal
fn clone(&self) -> DurableAdmissionRefusal
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 DurableAdmissionRefusal
impl Debug for DurableAdmissionRefusal
Source§impl Display for DurableAdmissionRefusal
impl Display for DurableAdmissionRefusal
Source§impl Error for DurableAdmissionRefusal
impl Error for DurableAdmissionRefusal
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DurableAdmissionRefusal
impl PartialEq for DurableAdmissionRefusal
Source§fn eq(&self, other: &DurableAdmissionRefusal) -> bool
fn eq(&self, other: &DurableAdmissionRefusal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DurableAdmissionRefusal
impl StructuralPartialEq for DurableAdmissionRefusal
Auto Trait Implementations§
impl Freeze for DurableAdmissionRefusal
impl RefUnwindSafe for DurableAdmissionRefusal
impl Send for DurableAdmissionRefusal
impl Sync for DurableAdmissionRefusal
impl Unpin for DurableAdmissionRefusal
impl UnsafeUnpin for DurableAdmissionRefusal
impl UnwindSafe for DurableAdmissionRefusal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.