pub enum RootResolutionState {
Present,
Absent,
Failed(RootFailure),
}Expand description
Bounded diagnostic state retained when dual-root classification fails.
Successful lookups are reduced to a copyable disposition so an error never
duplicates a validated origin plan or authenticated-absence proof. Failed
lookups retain their typed RootFailure for safe, root-specific
diagnostics and retry policy.
Variants§
Present
The complete origin had a validated resolution plan.
Absent
The complete origin was authentically absent or had no usable endpoint.
Failed(RootFailure)
The lookup failed and classification remained indeterminate.
Implementations§
Source§impl RootResolutionState
impl RootResolutionState
Sourcepub const fn disposition(&self) -> RootResolutionDisposition
pub const fn disposition(&self) -> RootResolutionDisposition
Returns the copyable lookup disposition.
Sourcepub const fn failure(&self) -> Option<&RootFailure>
pub const fn failure(&self) -> Option<&RootFailure>
Returns the typed root failure, if this lookup failed.
Trait Implementations§
Source§impl Clone for RootResolutionState
impl Clone for RootResolutionState
Source§fn clone(&self) -> RootResolutionState
fn clone(&self) -> RootResolutionState
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 RootResolutionState
impl Debug for RootResolutionState
Source§impl Display for RootResolutionState
impl Display for RootResolutionState
impl Eq for RootResolutionState
Source§impl PartialEq for RootResolutionState
impl PartialEq for RootResolutionState
impl StructuralPartialEq for RootResolutionState
Auto Trait Implementations§
impl Freeze for RootResolutionState
impl RefUnwindSafe for RootResolutionState
impl Send for RootResolutionState
impl Sync for RootResolutionState
impl Unpin for RootResolutionState
impl UnsafeUnpin for RootResolutionState
impl UnwindSafe for RootResolutionState
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