#[non_exhaustive]pub enum FinalPathError {
Win32(Win32Error),
Unstable {
attempts: usize,
},
}Expand description
Why a final path could not be resolved.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Win32(Win32Error)
Windows refused the call, with the raw code unaltered.
Unstable
The required size kept changing, so the retry was abandoned.
A path does not normally grow between two calls a microsecond apart, so this means something pathological rather than a transient. It is reported rather than looped on, because spinning here would hang the worker that a consumer moved this call onto in the first place.
Trait Implementations§
Source§impl Debug for FinalPathError
impl Debug for FinalPathError
Source§impl Display for FinalPathError
impl Display for FinalPathError
Source§impl Error for FinalPathError
impl Error for FinalPathError
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 From<Win32Error> for FinalPathError
impl From<Win32Error> for FinalPathError
Source§fn from(error: Win32Error) -> Self
fn from(error: Win32Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FinalPathError
impl RefUnwindSafe for FinalPathError
impl Send for FinalPathError
impl Sync for FinalPathError
impl Unpin for FinalPathError
impl UnsafeUnpin for FinalPathError
impl UnwindSafe for FinalPathError
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