Enum cedar_policy_core::ast::SubstitutionError
source · pub enum SubstitutionError {
TypeError {
expected: Type,
actual: Type,
},
}
Expand description
Enum for errors encountered during substitution
Variants§
Trait Implementations§
source§impl Clone for SubstitutionError
impl Clone for SubstitutionError
source§fn clone(&self) -> SubstitutionError
fn clone(&self) -> SubstitutionError
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 SubstitutionError
impl Debug for SubstitutionError
source§impl Display for SubstitutionError
impl Display for SubstitutionError
source§impl Error for SubstitutionError
impl Error for SubstitutionError
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()
Auto Trait Implementations§
impl RefUnwindSafe for SubstitutionError
impl Send for SubstitutionError
impl Sync for SubstitutionError
impl Unpin for SubstitutionError
impl UnwindSafe for SubstitutionError
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