pub struct Diagnostics {
pub default_branch_rung: Option<u8>,
pub default_branch_rung_disagreement: bool,
pub default_branch_rung_two_stale: bool,
pub default_branch_stopped: Option<DefaultBranchStopped>,
pub gitmodules_failed: Option<Arc<str>>,
}Expand description
Per-Entity facts that are not Cells: which rung of the default branch
resolution chain answered, whether rung 2 and rung 3 disagreed, why
resolution stopped when it did not settle, and whether .gitmodules failed to
read or parse.
Every field but gitmodules_failed reaches the detail pane and stays out of
the row summary fold, describing how a value was obtained rather than a value
that can itself fail; gitmodules_failed is the one exception the fold reads.
Fields§
§default_branch_rung: Option<u8>The rung (1 to 4) that resolved the default branch, once resolution has run.
default_branch_rung_disagreement: boolWhether rung 2’s answer disagreed with rung 3’s.
default_branch_rung_two_stale: boolWhether rung 2 read a symbolic origin/HEAD whose target no longer
resolves, the stale-but-successful case neither git symbolic-ref nor
gix’s own target() check for on their own.
default_branch_stopped: Option<DefaultBranchStopped>Why resolution reached rung 4, once it has; None while a rung 1 to 3
answer stands.
gitmodules_failed: Option<Arc<str>>Why this entity’s own .gitmodules would not read or parse, if it has one
and it failed; None covers both “no .gitmodules” and “read cleanly”.
Trait Implementations§
Source§impl Clone for Diagnostics
impl Clone for Diagnostics
Source§fn clone(&self) -> Diagnostics
fn clone(&self) -> Diagnostics
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Diagnostics
impl Debug for Diagnostics
Source§impl Default for Diagnostics
impl Default for Diagnostics
Source§fn default() -> Diagnostics
fn default() -> Diagnostics
impl Eq for Diagnostics
Source§impl PartialEq for Diagnostics
impl PartialEq for Diagnostics
impl StructuralPartialEq for Diagnostics
Auto Trait Implementations§
impl Freeze for Diagnostics
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnsafeUnpin for Diagnostics
impl UnwindSafe for Diagnostics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more