#[non_exhaustive]pub struct OperationCleanupError {
pub removed: Vec<PathBuf>,
pub source: OperationError,
}Expand description
Cleanup stopped after these exact removals; retry requires inspecting current state again.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.removed: Vec<PathBuf>Successfully removed paths relative to this worktree’s Git directory, in deletion order. Empty directories count as removals too. Earlier removals are never rolled back.
source: OperationErrorFailure preventing further cleanup.
Trait Implementations§
Source§impl Debug for OperationCleanupError
impl Debug for OperationCleanupError
Source§impl Display for OperationCleanupError
impl Display for OperationCleanupError
Source§impl Error for OperationCleanupError
impl Error for OperationCleanupError
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<OperationCleanupError> for Error
impl From<OperationCleanupError> for Error
Source§fn from(error: OperationCleanupError) -> Self
fn from(error: OperationCleanupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OperationCleanupError
impl !UnwindSafe for OperationCleanupError
impl Freeze for OperationCleanupError
impl Send for OperationCleanupError
impl Sync for OperationCleanupError
impl Unpin for OperationCleanupError
impl UnsafeUnpin for OperationCleanupError
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