pub struct Failure {
pub op: &'static str,
pub dtype: DType,
pub sample: String,
pub message: String,
}Expand description
A failed check.
Fields§
§op: &'static strThe primitive.
dtype: DTypeThe element type of the samples.
sample: StringThe sample.
message: StringWhat went wrong.
Trait Implementations§
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