pub enum VariableError {
Undefined(Vec<u8>),
RecursionLimit,
}
Expand description
Error returned when a variable couldn’t be resolved
Variants§
Trait Implementations§
source§impl Debug for VariableError
impl Debug for VariableError
source§impl Display for VariableError
impl Display for VariableError
source§impl Error for VariableError
impl Error for VariableError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Freeze for VariableError
impl RefUnwindSafe for VariableError
impl Send for VariableError
impl Sync for VariableError
impl Unpin for VariableError
impl UnwindSafe for VariableError
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