Struct unexpected::OutOfBounds [−][src]
Expand description
Error indicating value found is outside of a valid range.
Fields
min: Option<T>
Minimum allowed value.
max: Option<T>
Maximum allowed value.
found: T
Value found.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for OutOfBounds<T> where
T: RefUnwindSafe,
impl<T> Send for OutOfBounds<T> where
T: Send,
impl<T> Sync for OutOfBounds<T> where
T: Sync,
impl<T> Unpin for OutOfBounds<T> where
T: Unpin,
impl<T> UnwindSafe for OutOfBounds<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more