pub struct MetaDiagnostic {
pub code: String,
pub message: String,
}Expand description
Generic per-check diagnostic produced by the metatheorem checker. We
flatten the per-checker diagnostic types (TotalityDiagnostic etc.)
into a single shape so the report consumer does not have to know which
underlying checker emitted the message.
Fields§
§code: String§message: StringTrait Implementations§
Source§impl Clone for MetaDiagnostic
impl Clone for MetaDiagnostic
Source§fn clone(&self) -> MetaDiagnostic
fn clone(&self) -> MetaDiagnostic
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 moreSource§impl Debug for MetaDiagnostic
impl Debug for MetaDiagnostic
Source§impl From<CoverageDiagnostic> for MetaDiagnostic
impl From<CoverageDiagnostic> for MetaDiagnostic
Source§fn from(d: CoverageDiagnostic) -> Self
fn from(d: CoverageDiagnostic) -> Self
Converts to this type from the input type.
Source§impl From<TerminationDiagnostic> for MetaDiagnostic
impl From<TerminationDiagnostic> for MetaDiagnostic
Source§fn from(d: TerminationDiagnostic) -> Self
fn from(d: TerminationDiagnostic) -> Self
Converts to this type from the input type.
Source§impl From<TotalityDiagnostic> for MetaDiagnostic
impl From<TotalityDiagnostic> for MetaDiagnostic
Source§fn from(d: TotalityDiagnostic) -> Self
fn from(d: TotalityDiagnostic) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MetaDiagnostic
impl PartialEq for MetaDiagnostic
impl Eq for MetaDiagnostic
impl StructuralPartialEq for MetaDiagnostic
Auto Trait Implementations§
impl Freeze for MetaDiagnostic
impl RefUnwindSafe for MetaDiagnostic
impl Send for MetaDiagnostic
impl Sync for MetaDiagnostic
impl Unpin for MetaDiagnostic
impl UnsafeUnpin for MetaDiagnostic
impl UnwindSafe for MetaDiagnostic
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