Struct gix_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)>
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<T> Freeze for Error<T>
impl<T> !RefUnwindSafe for Error<T>
impl<T> Send for Error<T>where
T: Send,
impl<T> Sync for Error<T>where
T: Sync,
impl<T> Unpin for Error<T>where
T: Unpin,
impl<T> !UnwindSafe for Error<T>
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