pub struct TerminationDiagnostic {
pub code: String,
pub message: String,
}Expand description
Per-clause / per-call termination diagnostic returned by is_terminating.
Fields§
§code: String§message: StringTrait Implementations§
Source§impl Clone for TerminationDiagnostic
impl Clone for TerminationDiagnostic
Source§fn clone(&self) -> TerminationDiagnostic
fn clone(&self) -> TerminationDiagnostic
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 TerminationDiagnostic
impl Debug for TerminationDiagnostic
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 PartialEq for TerminationDiagnostic
impl PartialEq for TerminationDiagnostic
impl Eq for TerminationDiagnostic
impl StructuralPartialEq for TerminationDiagnostic
Auto Trait Implementations§
impl Freeze for TerminationDiagnostic
impl RefUnwindSafe for TerminationDiagnostic
impl Send for TerminationDiagnostic
impl Sync for TerminationDiagnostic
impl Unpin for TerminationDiagnostic
impl UnsafeUnpin for TerminationDiagnostic
impl UnwindSafe for TerminationDiagnostic
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