pub enum EffectiveFactError {
ScopeMismatch,
FulfillmentScopeMismatch,
Evidence(EffectiveRelationError),
}Expand description
Failure to resolve effective facts from an explicitly scoped observation.
Variants§
ScopeMismatch
An assignment belongs to another tenant, subject or relation.
FulfillmentScopeMismatch
Fulfillment evidence targets another tenant or assignment incarnation.
Evidence(EffectiveRelationError)
Time or lifecycle evidence cannot establish effective presence.
Trait Implementations§
Source§impl Clone for EffectiveFactError
impl Clone for EffectiveFactError
Source§fn clone(&self) -> EffectiveFactError
fn clone(&self) -> EffectiveFactError
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 moreimpl Copy for EffectiveFactError
Source§impl Debug for EffectiveFactError
impl Debug for EffectiveFactError
Source§impl Display for EffectiveFactError
impl Display for EffectiveFactError
impl Eq for EffectiveFactError
Source§impl Error for EffectiveFactError
impl Error for EffectiveFactError
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 From<EffectiveRelationError> for EffectiveFactError
impl From<EffectiveRelationError> for EffectiveFactError
Source§fn from(source: EffectiveRelationError) -> Self
fn from(source: EffectiveRelationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EffectiveFactError
impl PartialEq for EffectiveFactError
impl StructuralPartialEq for EffectiveFactError
Auto Trait Implementations§
impl Freeze for EffectiveFactError
impl RefUnwindSafe for EffectiveFactError
impl Send for EffectiveFactError
impl Sync for EffectiveFactError
impl Unpin for EffectiveFactError
impl UnsafeUnpin for EffectiveFactError
impl UnwindSafe for EffectiveFactError
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