pub struct RustAdapter;Expand description
The Rust verifier-suite adapter (rustc / cargo / rust-analyzer).
Trait Implementations§
Source§impl Clone for RustAdapter
impl Clone for RustAdapter
Source§fn clone(&self) -> RustAdapter
fn clone(&self) -> RustAdapter
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 RustAdapter
impl Debug for RustAdapter
Source§impl Default for RustAdapter
impl Default for RustAdapter
Source§fn default() -> RustAdapter
fn default() -> RustAdapter
Returns the “default value” for a type. Read more
Source§impl LanguageAdapter for RustAdapter
impl LanguageAdapter for RustAdapter
fn language(&self) -> CodingLanguage
Source§fn diagnostic_sensor(&self) -> SensorRef
fn diagnostic_sensor(&self) -> SensorRef
The primary diagnostic sensor for this language.
Source§fn parse_diagnostics(
&self,
node_id: &str,
generation: u32,
raw: &str,
) -> Vec<ResidualEvent>
fn parse_diagnostics( &self, node_id: &str, generation: u32, raw: &str, ) -> Vec<ResidualEvent>
Parse raw diagnostic output into typed residuals.
Source§fn correction_for(
&self,
residual: &ResidualEvent,
) -> Option<CorrectionDirection>
fn correction_for( &self, residual: &ResidualEvent, ) -> Option<CorrectionDirection>
Map a residual to a correction direction, or
None when there is none.Source§fn smoke_invocations(&self, workspace: &Path) -> Vec<SmokeInvocation>
fn smoke_invocations(&self, workspace: &Path) -> Vec<SmokeInvocation>
Runtime smoke invocations to exercise the built artifact’s entrypoints
(PSP-8 runtime probe). Default: none — a new adapter opts in by overriding
this. The runtime executes the returned commands from
workspace.Source§fn classify_runtime(
&self,
node_id: &str,
generation: u32,
invocation: &SmokeInvocation,
exit_success: bool,
output: &str,
) -> Vec<ResidualEvent>
fn classify_runtime( &self, node_id: &str, generation: u32, invocation: &SmokeInvocation, exit_success: bool, output: &str, ) -> Vec<ResidualEvent>
Classify the output of a smoke invocation into
Runtime residuals.
Default: shared crash-marker + non-zero-exit detection.Auto Trait Implementations§
impl Freeze for RustAdapter
impl RefUnwindSafe for RustAdapter
impl Send for RustAdapter
impl Sync for RustAdapter
impl Unpin for RustAdapter
impl UnsafeUnpin for RustAdapter
impl UnwindSafe for RustAdapter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.