pub enum ProblemDetail {
GitDiagnostic(String),
StartingPoint(String),
MissingWorktree {
participant: String,
expected: PathBuf,
occupied: bool,
},
TaskDirectoryConflict {
workspace: PathBuf,
current: PathBuf,
},
}Expand description
Additional facts that a presenter can use without parsing diagnostic prose.
Variants§
GitDiagnostic(String)
Captured Git diagnostics, separate from the command invocation.
StartingPoint(String)
User-supplied starting point that a repository could not resolve.
MissingWorktree
A previously admitted worktree could not be located.
Fields
TaskDirectoryConflict
An initialized workspace is already configured to use a different task directory.
Trait Implementations§
Source§impl Clone for ProblemDetail
impl Clone for ProblemDetail
Auto Trait Implementations§
impl Forget for ProblemDetail
impl Freeze for ProblemDetail
impl Move for ProblemDetail
impl RefUnwindSafe for ProblemDetail
impl Send for ProblemDetail
impl Sync for ProblemDetail
impl Unpin for ProblemDetail
impl UnsafeUnpin for ProblemDetail
impl UnwindSafe for ProblemDetail
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