pub enum RevisionError {
BaseNotFound {
base_path: String,
},
IO {
source: Error,
},
GlobPattern {
source: PatternError,
},
SerdeError {
source: Error,
},
Patch {
source: PatchError,
},
}Variants§
Trait Implementations§
Source§impl Debug for RevisionError
impl Debug for RevisionError
Source§impl Display for RevisionError
impl Display for RevisionError
Source§impl Error for RevisionError
impl Error for RevisionError
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<Error> for RevisionError
impl From<Error> for RevisionError
Source§impl From<Error> for RevisionError
impl From<Error> for RevisionError
Source§impl From<PatchError> for RevisionError
impl From<PatchError> for RevisionError
Source§fn from(source: PatchError) -> Self
fn from(source: PatchError) -> Self
Converts to this type from the input type.
Source§impl From<PatternError> for RevisionError
impl From<PatternError> for RevisionError
Source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
Source§impl From<RevisionError> for TraceError
impl From<RevisionError> for TraceError
Source§fn from(source: RevisionError) -> Self
fn from(source: RevisionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RevisionError
impl !RefUnwindSafe for RevisionError
impl Send for RevisionError
impl Sync for RevisionError
impl Unpin for RevisionError
impl !UnwindSafe for RevisionError
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