pub enum PolicyResolveError {
Fault {
cause: String,
},
}Expand description
A resolver failure rather than a policy decision. The cause is
diagnostic prose for logs and operators, never for matching: callers
branch on the VARIANT (per the decision-vs-fault split), and the cause
exists because a unit Fault swallowed three different integration defects
(subject shape, request envelope, wrong route plane) in its first hour,
each costing a raw-probe cycle to see through.
Variants§
Trait Implementations§
Source§impl Clone for PolicyResolveError
impl Clone for PolicyResolveError
Source§impl Debug for PolicyResolveError
impl Debug for PolicyResolveError
Source§impl Display for PolicyResolveError
impl Display for PolicyResolveError
impl Eq for PolicyResolveError
Source§impl Error for PolicyResolveError
impl Error for PolicyResolveError
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 PolicyResolveError
impl PartialEq for PolicyResolveError
impl StructuralPartialEq for PolicyResolveError
Auto Trait Implementations§
impl Forget for PolicyResolveError
impl Freeze for PolicyResolveError
impl Move for PolicyResolveError
impl RefUnwindSafe for PolicyResolveError
impl Send for PolicyResolveError
impl Sync for PolicyResolveError
impl Unpin for PolicyResolveError
impl UnsafeUnpin for PolicyResolveError
impl UnwindSafe for PolicyResolveError
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