pub enum TraceError {
Backend {
source: BackendError,
},
Internal {
err_str: String,
},
IO {
source: Error,
},
Glob {
source: GlobError,
},
GlobPattern {
source: PatternError,
},
PurgeBase {
source: PurgeBaseError,
},
Patch {
source: PatchError,
},
Revision {
source: RevisionError,
},
}Variants§
Backend
Fields
§
source: BackendErrorInternal
IO
Glob
GlobPattern
Fields
§
source: PatternErrorPurgeBase
Fields
§
source: PurgeBaseErrorPatch
Fields
§
source: PatchErrorRevision
Fields
§
source: RevisionErrorTrait Implementations§
Source§impl Debug for TraceError
impl Debug for TraceError
Source§impl Display for TraceError
impl Display for TraceError
Source§impl Error for TraceError
impl Error for TraceError
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<BackendError> for TraceError
impl From<BackendError> for TraceError
Source§fn from(source: BackendError) -> Self
fn from(source: BackendError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TraceError
impl From<Error> for TraceError
Source§impl From<GlobError> for TraceError
impl From<GlobError> for TraceError
Source§impl From<PatchError> for TraceError
impl From<PatchError> for TraceError
Source§fn from(source: PatchError) -> Self
fn from(source: PatchError) -> Self
Converts to this type from the input type.
Source§impl From<PatternError> for TraceError
impl From<PatternError> for TraceError
Source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
Source§impl From<PurgeBaseError> for TraceError
impl From<PurgeBaseError> for TraceError
Source§fn from(source: PurgeBaseError) -> Self
fn from(source: PurgeBaseError) -> 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.
Source§impl From<TraceError> for DelegateError
impl From<TraceError> for DelegateError
Source§fn from(source: TraceError) -> Self
fn from(source: TraceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TraceError
impl !RefUnwindSafe for TraceError
impl Send for TraceError
impl Sync for TraceError
impl Unpin for TraceError
impl !UnwindSafe for TraceError
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