pub enum PathResolutionError {
Empty,
ContainsNul,
ParentTraversal,
}Expand description
The lexical validation failures returned by resolve_lexical_path.
Variants§
Empty
The declaration is empty.
ContainsNul
The declaration contains a NUL byte.
ParentTraversal
The declaration contains a parent traversal component.
Trait Implementations§
Source§impl Clone for PathResolutionError
impl Clone for PathResolutionError
impl Copy for PathResolutionError
Source§impl Debug for PathResolutionError
impl Debug for PathResolutionError
Source§impl Display for PathResolutionError
impl Display for PathResolutionError
impl Eq for PathResolutionError
Source§impl Error for PathResolutionError
impl Error for PathResolutionError
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 PathResolutionError
impl PartialEq for PathResolutionError
impl StructuralPartialEq for PathResolutionError
Auto Trait Implementations§
impl Freeze for PathResolutionError
impl RefUnwindSafe for PathResolutionError
impl Send for PathResolutionError
impl Sync for PathResolutionError
impl Unpin for PathResolutionError
impl UnsafeUnpin for PathResolutionError
impl UnwindSafe for PathResolutionError
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