pub enum ConstantPathError {
DynamicParts,
MissingNodes,
}Expand description
Errors for constant path name computation.
Variants§
DynamicParts
The constant path contains dynamic parts (e.g., var::Bar::Baz).
MissingNodes
The constant path contains missing nodes (e.g., Foo::).
Trait Implementations§
Source§impl Clone for ConstantPathError
impl Clone for ConstantPathError
Source§fn clone(&self) -> ConstantPathError
fn clone(&self) -> ConstantPathError
Returns a duplicate 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 ConstantPathError
impl Debug for ConstantPathError
Source§impl Display for ConstantPathError
impl Display for ConstantPathError
Source§impl Error for ConstantPathError
impl Error for ConstantPathError
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()
Source§impl PartialEq for ConstantPathError
impl PartialEq for ConstantPathError
impl Eq for ConstantPathError
impl StructuralPartialEq for ConstantPathError
Auto Trait Implementations§
impl Freeze for ConstantPathError
impl RefUnwindSafe for ConstantPathError
impl Send for ConstantPathError
impl Sync for ConstantPathError
impl Unpin for ConstantPathError
impl UnwindSafe for ConstantPathError
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