#[non_exhaustive]pub enum Done {
Removed(PathBuf),
Deleted {
branch: String,
oid: String,
backup: String,
},
Failed {
what: String,
why: String,
},
}Expand description
What execute did
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Removed(PathBuf)
Removed this worktree
Deleted
Deleted this local branch, after saving it as backup
Fields
Failed
Left this worktree or branch, for this reason
Trait Implementations§
Auto Trait Implementations§
impl Forget for Done
impl Freeze for Done
impl Move for Done
impl RefUnwindSafe for Done
impl Send for Donewhere
RawVecInner: Send,
impl Sync for Donewhere
RawVecInner: Sync,
impl Unpin for Done
impl UnsafeUnpin for Done
impl UnwindSafe for Donewhere
RawVecInner: UnwindSafe,
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