Struct proptest::test_runner::Reason
source · pub struct Reason(_);
Expand description
The reason for why something, such as a generated value, was rejected.
Currently this is merely a wrapper around a message, but more properties may be added in the future.
This is constructed via .into()
on a String
, &'static str
, or
Box<str>
.
Implementations§
Trait Implementations§
source§impl Ord for Reason
impl Ord for Reason
source§impl PartialOrd<Reason> for Reason
impl PartialOrd<Reason> for Reason
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more