pub struct CaptureRetentionError {
pub source: Error,
pub retained_path: PathBuf,
pub staging_directory: PathBuf,
}Expand description
Finalization failed after capture custody was transferred to the caller.
The exact bytes remain at Self::retained_path. If rename succeeded but
cleanup failed, that path is the destination; otherwise it is the staging file.
Fields§
§source: ErrorFilesystem operation that failed.
retained_path: PathBufActual retained file path after the failed operation.
staging_directory: PathBufOwned staging child still requiring caller disposition.
Trait Implementations§
Source§impl Debug for CaptureRetentionError
impl Debug for CaptureRetentionError
Source§impl Display for CaptureRetentionError
impl Display for CaptureRetentionError
Source§impl Error for CaptureRetentionError
impl Error for CaptureRetentionError
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 !RefUnwindSafe for CaptureRetentionError
impl !UnwindSafe for CaptureRetentionError
impl Freeze for CaptureRetentionError
impl Send for CaptureRetentionError
impl Sync for CaptureRetentionError
impl Unpin for CaptureRetentionError
impl UnsafeUnpin for CaptureRetentionError
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