pub struct FacetMismatch {
pub facet: &'static str,
pub actual: &'static str,
pub bound: String,
}Expand description
The single facet constraint a capability failed, named in the taxonomy’s own vocabulary.
Exists because the engine was write-only: admits answered yes/no and nothing reported WHICH
axis said no, so both a user asking “why was this denied” and an author debugging a resolver had
to bisect by editing facets and re-running. That is not a hypothetical cost — it is how an
incomplete loopback delta got mistaken for a flawed approach.
Fields§
§facet: &'static strDotted facet path as the taxonomy spells it (network.payload, locus.remote).
actual: &'static strThe capability’s term (sends-host-data).
bound: StringThe constraint it failed (<= fetches, one of [pinned, na]).
Trait Implementations§
Source§impl Clone for FacetMismatch
impl Clone for FacetMismatch
Source§fn clone(&self) -> FacetMismatch
fn clone(&self) -> FacetMismatch
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 FacetMismatch
impl Debug for FacetMismatch
Source§impl Display for FacetMismatch
impl Display for FacetMismatch
impl Eq for FacetMismatch
Source§impl PartialEq for FacetMismatch
impl PartialEq for FacetMismatch
impl StructuralPartialEq for FacetMismatch
Auto Trait Implementations§
impl Freeze for FacetMismatch
impl RefUnwindSafe for FacetMismatch
impl Send for FacetMismatch
impl Sync for FacetMismatch
impl Unpin for FacetMismatch
impl UnsafeUnpin for FacetMismatch
impl UnwindSafe for FacetMismatch
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.