Struct git_tempfile::handle::persist::Error
source · pub struct Error<T: Debug> {
pub error: Error,
pub handle: Handle<T>,
}
Expand description
The error returned by various persist(…)
methods
Fields§
§error: Error
The io error that prevented the attempt to succeed
handle: Handle<T>
The registered handle to the tempfile which couldn’t be persisted.
Trait Implementations§
source§impl<T: Debug> Error for Error<T>
impl<T: Debug> Error for Error<T>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()