pub struct ProblemOutcome {
pub worktree_locations: Option<Box<WorktreeLocations>>,
pub code: String,
pub message: String,
pub remedy: String,
pub candidates: Vec<NativePath>,
pub suggested_override: Option<SuggestedOverride>,
/* private fields */
}Expand description
Diagnostic representation shared by the public interfaces.
Fields§
§worktree_locations: Option<Box<WorktreeLocations>>Paths associated with a worktree relationship problem.
code: StringStable machine-readable diagnostic classification.
message: StringHuman-readable explanation for the caller.
remedy: StringSuggested action for resolving the problem.
candidates: Vec<NativePath>Matching project references the caller may select.
suggested_override: Option<SuggestedOverride>An explicit name or selector that can resolve the conflict.
Trait Implementations§
Source§impl From<Problem> for ProblemOutcome
impl From<Problem> for ProblemOutcome
Auto Trait Implementations§
impl Forget for ProblemOutcome
impl Freeze for ProblemOutcome
impl Move for ProblemOutcome
impl RefUnwindSafe for ProblemOutcome
impl Send for ProblemOutcome
impl Sync for ProblemOutcome
impl Unpin for ProblemOutcome
impl UnsafeUnpin for ProblemOutcome
impl UnwindSafe for ProblemOutcome
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