Enum cedar_policy_core::parser::err::InvalidIsError
source · pub enum InvalidIsError {
ActionScope,
WrongOp(RelOp),
}
Expand description
Error when is
appears in the policy scope in a position where it is
forbidden.
Variants§
ActionScope
The action scope may not contain an is
WrongOp(RelOp)
An is
cannot appear with this operator in the policy scope
Trait Implementations§
source§impl Clone for InvalidIsError
impl Clone for InvalidIsError
source§fn clone(&self) -> InvalidIsError
fn clone(&self) -> InvalidIsError
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 InvalidIsError
impl Debug for InvalidIsError
source§impl Display for InvalidIsError
impl Display for InvalidIsError
source§impl Error for InvalidIsError
impl Error for InvalidIsError
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 From<InvalidIsError> for ToASTError
impl From<InvalidIsError> for ToASTError
source§fn from(source: InvalidIsError) -> Self
fn from(source: InvalidIsError) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvalidIsError
impl PartialEq for InvalidIsError
source§fn eq(&self, other: &InvalidIsError) -> bool
fn eq(&self, other: &InvalidIsError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvalidIsError
impl StructuralEq for InvalidIsError
impl StructuralPartialEq for InvalidIsError
Auto Trait Implementations§
impl RefUnwindSafe for InvalidIsError
impl Send for InvalidIsError
impl Sync for InvalidIsError
impl Unpin for InvalidIsError
impl UnwindSafe for InvalidIsError
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