pub(crate) struct MismatchedPathError {}Expand description
An error that we return when the path given to delete_lock_file does not
match the file we have.
Since we wrap this in an io::Error, it doesn’t need to be public or fancy.
Trait Implementations§
Source§impl Clone for MismatchedPathError
impl Clone for MismatchedPathError
Source§fn clone(&self) -> MismatchedPathError
fn clone(&self) -> MismatchedPathError
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 MismatchedPathError
impl Debug for MismatchedPathError
Source§impl Display for MismatchedPathError
impl Display for MismatchedPathError
Source§impl Error for MismatchedPathError
impl Error for MismatchedPathError
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()
Auto Trait Implementations§
impl Freeze for MismatchedPathError
impl RefUnwindSafe for MismatchedPathError
impl Send for MismatchedPathError
impl Sync for MismatchedPathError
impl Unpin for MismatchedPathError
impl UnsafeUnpin for MismatchedPathError
impl UnwindSafe for MismatchedPathError
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