pub struct ConstraintDiagnostics {
pub table: &'static str,
pub constraint: &'static str,
pub kind: ConstraintKind,
/* private fields */
}Expand description
Structured diagnostics. Attempted values are deliberately absent from Display.
Fields§
§table: &'static str§constraint: &'static str§kind: ConstraintKindTrait Implementations§
Source§impl Clone for ConstraintDiagnostics
impl Clone for ConstraintDiagnostics
Source§impl Debug for ConstraintDiagnostics
impl Debug for ConstraintDiagnostics
Source§impl Display for ConstraintDiagnostics
impl Display for ConstraintDiagnostics
Source§impl Error for ConstraintDiagnostics
impl Error for ConstraintDiagnostics
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ConstraintDiagnostics
impl !UnwindSafe for ConstraintDiagnostics
impl Freeze for ConstraintDiagnostics
impl Send for ConstraintDiagnostics
impl Sync for ConstraintDiagnostics
impl Unpin for ConstraintDiagnostics
impl UnsafeUnpin for ConstraintDiagnostics
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<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> ⓘ
Converts
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> ⓘ
Converts
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