pub struct RealPathError { /* private fields */ }Expand description
Errors that can occur when resolving a path with symlinks. Many of these can be transient conditions that might happen when package managers are running.
Implementations§
Source§impl RealPathError
impl RealPathError
pub fn kind(&self) -> &RealPathErrorType
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for RealPathError
impl<'__de, __Context> BorrowDecode<'__de, __Context> for RealPathError
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for RealPathError
impl Clone for RealPathError
Source§fn clone(&self) -> RealPathError
fn clone(&self) -> RealPathError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RealPathError
impl Debug for RealPathError
Source§impl<__Context> Decode<__Context> for RealPathError
impl<__Context> Decode<__Context> for RealPathError
Source§impl Display for RealPathError
impl Display for RealPathError
Source§impl Encode for RealPathError
impl Encode for RealPathError
impl Eq for RealPathError
Source§impl Error for RealPathError
impl Error for RealPathError
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 Hash for RealPathError
impl Hash for RealPathError
impl NonLocalValue for RealPathError
Source§impl PartialEq for RealPathError
impl PartialEq for RealPathError
impl StructuralPartialEq for RealPathError
Auto Trait Implementations§
impl !RefUnwindSafe for RealPathError
impl !UnwindSafe for RealPathError
impl Freeze for RealPathError
impl Send for RealPathError
impl Sync for RealPathError
impl Unpin for RealPathError
impl UnsafeUnpin for RealPathError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DynEq for T
§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
fn dyn_partial_eq(&self, other: &(dyn Any + 'static)) -> bool
§impl<T> DynTaskInputs for T
impl<T> DynTaskInputs for T
fn dyn_type_name(&self) -> &'static str
impl<T> EffectError for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more