pub enum OperationErrorKind {
WithPath(String),
WithTwoPaths(String, String),
}Expand description
The kind of context associated with an operation error.
Variants§
WithPath(String)
Single path context.
WithTwoPaths(String, String)
Two path context (e.g., copy, rename).
Trait Implementations§
Source§impl Clone for OperationErrorKind
impl Clone for OperationErrorKind
Source§fn clone(&self) -> OperationErrorKind
fn clone(&self) -> OperationErrorKind
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 OperationErrorKind
impl Debug for OperationErrorKind
Source§impl PartialEq for OperationErrorKind
impl PartialEq for OperationErrorKind
impl Eq for OperationErrorKind
impl StructuralPartialEq for OperationErrorKind
Auto Trait Implementations§
impl Freeze for OperationErrorKind
impl RefUnwindSafe for OperationErrorKind
impl Send for OperationErrorKind
impl Sync for OperationErrorKind
impl Unpin for OperationErrorKind
impl UnwindSafe for OperationErrorKind
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,
Source§impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
Source§fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
Wraps
self in a SysWithPathsInErrors that includes paths in error messages.