Enum cedar_policy::EvaluationError
source · pub enum EvaluationError {
StringMessage(String),
}
Expand description
Errors encountered while evaluating policies or expressions, or making authorization decisions.
Variants§
StringMessage(String)
Error message, as string.
TODO in the future this can/should be the actual Core EvaluationError
Trait Implementations§
source§impl Clone for EvaluationError
impl Clone for EvaluationError
source§fn clone(&self) -> EvaluationError
fn clone(&self) -> EvaluationError
Returns a copy of the value. Read more
1.0.0 · 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 EvaluationError
impl Debug for EvaluationError
source§impl Display for EvaluationError
impl Display for EvaluationError
source§impl Error for EvaluationError
impl Error for EvaluationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 EvaluationError
impl PartialEq for EvaluationError
source§fn eq(&self, other: &EvaluationError) -> bool
fn eq(&self, other: &EvaluationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EvaluationError
impl StructuralPartialEq for EvaluationError
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationError
impl Send for EvaluationError
impl Sync for EvaluationError
impl Unpin for EvaluationError
impl UnwindSafe for EvaluationError
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<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.