pub struct CheckResult {
pub tree: TreeState,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The rich one-shot check verdict: the existing boolean TreeState paired
with the full diagnostic list a user needs to fix a red tree. Returned by
the adjacent cargoless_core::model::check_once_with_diagnostics; existing
callers of TreeState-returning APIs (check_once, frozen for cli-ux
and the bench harness) are byte-unaffected.
Fields§
§tree: TreeStateThe same authoritative tree verdict check_once would return.
diagnostics: Vec<Diagnostic>Every diagnostic the model knew about at the moment the verdict was
finalised — every severity, both rustc-authoritative and RA-advisory.
The CLI renderer is free to filter (e.g. errors-only) by severity
and/or source.
Trait Implementations§
Source§impl Clone for CheckResult
impl Clone for CheckResult
Source§fn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckResult
impl Debug for CheckResult
impl Eq for CheckResult
Source§impl PartialEq for CheckResult
impl PartialEq for CheckResult
impl StructuralPartialEq for CheckResult
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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