pub enum VarResolveError {
Unknown(String),
Invalid(String),
}Expand description
An error type returned by a VarResolver when it fails to resolve an identifier.
Variants§
Unknown(String)
The variable name is unknown.
Invalid(String)
The variable name is known but is invalid in the current context.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VarResolveError
impl RefUnwindSafe for VarResolveError
impl Send for VarResolveError
impl Sync for VarResolveError
impl Unpin for VarResolveError
impl UnwindSafe for VarResolveError
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