pub struct Failure {
pub check: &'static str,
pub detail: String,
}Expand description
One thing an implementor got wrong, by the check that found it.
Fields§
§check: &'static strWhich check: a stable kebab-case name, so a suite can match on it.
detail: StringWhat was seen, in enough words to fix it.
Trait Implementations§
impl Eq for Failure
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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