pub struct VerifierProfile {
pub plugin_name: String,
pub capabilities: Vec<VerifierCapability>,
pub lsp: LspCapability,
}Expand description
Complete verifier profile for a plugin.
Bundles all per-sensor capabilities and LSP availability into one
inspectable structure. Built by LanguagePlugin::verifier_profile().
Fields§
§plugin_name: StringName of the plugin that produced this profile.
capabilities: Vec<VerifierCapability>Per-stage verifier capabilities.
lsp: LspCapabilityLSP availability and fallback.
Implementations§
Source§impl VerifierProfile
impl VerifierProfile
Sourcepub fn get(&self, stage: VerifierStage) -> Option<&VerifierCapability>
pub fn get(&self, stage: VerifierStage) -> Option<&VerifierCapability>
Get the capability for a given stage, if declared.
Sourcepub fn available_stages(&self) -> Vec<VerifierStage>
pub fn available_stages(&self) -> Vec<VerifierStage>
Stages that have at least one available tool (primary or fallback).
Sourcepub fn fully_degraded(&self) -> bool
pub fn fully_degraded(&self) -> bool
True when every declared stage has zero available tools.
Trait Implementations§
Source§impl Clone for VerifierProfile
impl Clone for VerifierProfile
Source§fn clone(&self) -> VerifierProfile
fn clone(&self) -> VerifierProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerifierProfile
impl RefUnwindSafe for VerifierProfile
impl Send for VerifierProfile
impl Sync for VerifierProfile
impl Unpin for VerifierProfile
impl UnsafeUnpin for VerifierProfile
impl UnwindSafe for VerifierProfile
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