pub enum LookupError {
DoesNotExist {
identifier: String,
},
TypeMismatch {
expected: String,
actual: String,
is_concrete: bool,
},
}Expand description
The error type for lookup operations on the AST.
Variants§
DoesNotExist
No AST node exists that corresponds to the provided identifier.
TypeMismatch
An AST node with the provided identifier exists, but the element stored in it wasn’t of the specified type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LookupError
impl RefUnwindSafe for LookupError
impl Send for LookupError
impl Sync for LookupError
impl Unpin for LookupError
impl UnwindSafe for LookupError
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