Enum cedar_policy::ReAuthorizeError
source · pub enum ReAuthorizeError {
Evaluation {
err: EvaluationError,
},
PolicySet {
err: PolicySetError,
},
}Expand description
Errors that can be encountered when re-evaluating a partial response
Variants§
Evaluation
An evaluation error was encountered
Fields
§
err: EvaluationErrorThe evaluation error
PolicySet
A policy id conflict was found
Fields
§
err: PolicySetErrorThe conflicting ids
Trait Implementations§
source§impl Debug for ReAuthorizeError
impl Debug for ReAuthorizeError
source§impl Display for ReAuthorizeError
impl Display for ReAuthorizeError
source§impl Error for ReAuthorizeError
impl Error for ReAuthorizeError
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 From<EvaluationError> for ReAuthorizeError
impl From<EvaluationError> for ReAuthorizeError
source§fn from(source: EvaluationError) -> Self
fn from(source: EvaluationError) -> Self
Converts to this type from the input type.
source§impl From<PolicySetError> for ReAuthorizeError
impl From<PolicySetError> for ReAuthorizeError
source§fn from(source: PolicySetError) -> Self
fn from(source: PolicySetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReAuthorizeError
impl RefUnwindSafe for ReAuthorizeError
impl Send for ReAuthorizeError
impl Sync for ReAuthorizeError
impl Unpin for ReAuthorizeError
impl UnwindSafe for ReAuthorizeError
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more