Enum scratchstack_aspen::AspenError
source · [−]pub enum AspenError {
InvalidAction(String),
InvalidConditionOperator(String),
InvalidPolicyVersion(String),
InvalidPrincipal(String),
InvalidResource(String),
InvalidSubstitution(String),
}
Variants
InvalidAction(String)
InvalidConditionOperator(String)
InvalidPolicyVersion(String)
InvalidPrincipal(String)
InvalidResource(String)
InvalidSubstitution(String)
Trait Implementations
sourceimpl Debug for AspenError
impl Debug for AspenError
sourceimpl Display for AspenError
impl Display for AspenError
sourceimpl Error for AspenError
impl Error for AspenError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<AspenError> for AspenError
impl PartialEq<AspenError> for AspenError
sourcefn eq(&self, other: &AspenError) -> bool
fn eq(&self, other: &AspenError) -> bool
impl Eq for AspenError
impl StructuralEq for AspenError
impl StructuralPartialEq for AspenError
Auto Trait Implementations
impl RefUnwindSafe for AspenError
impl Send for AspenError
impl Sync for AspenError
impl Unpin for AspenError
impl UnwindSafe for AspenError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more