pub enum NameError {
ForeignAtom,
OpaqueDeferred,
ForeignOrder,
}Expand description
Why a typed value’s name tokens cannot be trusted in a given name table.
Variants§
ForeignAtom
An atom’s text and token do not identify the same name in the table.
OpaqueDeferred
An opaque deferred set would require caller code to inspect its names.
ForeignOrder
A set, record or function is sorted in another value order than the one it is checked against.
Implementations§
Trait Implementations§
impl Copy for NameError
impl Eq for NameError
Source§impl Error for NameError
impl Error for NameError
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()
impl StructuralPartialEq for NameError
Auto Trait Implementations§
impl Forget for NameError
impl Freeze for NameError
impl Move for NameError
impl RefUnwindSafe for NameError
impl Send for NameError
impl Sync for NameError
impl Unpin for NameError
impl UnsafeUnpin for NameError
impl UnwindSafe for NameError
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