pub struct TypeAwareStatus {
pub available: bool,
pub discovery_source: Option<&'static str>,
pub companion_path: Option<PathBuf>,
pub package_version: Option<String>,
pub protocol_version: u32,
pub backend_family: Option<String>,
pub backend_version: Option<String>,
pub remediation: Option<String>,
}Expand description
Semantic-companion availability report produced by status.
Fields§
§available: boolTrue only when the companion was found, its protocol and package versions match this fallow build exactly, and its backend version is in the supported range of the selected backend.
discovery_source: Option<&'static str>How the companion binary was located: installed-sibling,
environment-override, or a wrapper marker such as npm-wrapper;
None when discovery failed.
companion_path: Option<PathBuf>Discovered companion binary path; None when discovery failed.
package_version: Option<String>fallow-type-aware package version the companion reported.
protocol_version: u32Protocol version: the companion’s when it answered, otherwise the version this fallow build speaks.
backend_family: Option<String>Type-checker backend family the companion reported.
backend_version: Option<String>Type-checker backend version the companion reported.
remediation: Option<String>Remediation instruction when the companion is unavailable or
mismatched; None when available is true.
Trait Implementations§
Source§impl Clone for TypeAwareStatus
impl Clone for TypeAwareStatus
Source§impl Debug for TypeAwareStatus
impl Debug for TypeAwareStatus
Auto Trait Implementations§
impl Forget for TypeAwareStatus
impl Freeze for TypeAwareStatus
impl Move for TypeAwareStatus
impl RefUnwindSafe for TypeAwareStatus
impl Send for TypeAwareStatus
impl Sync for TypeAwareStatus
impl Unpin for TypeAwareStatus
impl UnsafeUnpin for TypeAwareStatus
impl UnwindSafe for TypeAwareStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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