Struct zfc::BoundedErr
source · pub struct BoundedErr;
Expand description
Error returned when attempting to create a
BoundedCardinality
from a pair of BigUint
s
or Cardinality
s such that the upper bound
is strictly less than the lower bound.
Trait Implementations§
source§impl Clone for BoundedErr
impl Clone for BoundedErr
source§fn clone(&self) -> BoundedErr
fn clone(&self) -> BoundedErr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BoundedErr
impl Debug for BoundedErr
source§impl Default for BoundedErr
impl Default for BoundedErr
source§fn default() -> BoundedErr
fn default() -> BoundedErr
Returns the “default value” for a type. Read more
source§impl Display for BoundedErr
impl Display for BoundedErr
source§impl Error for BoundedErr
Available on crate feature std
only.
impl Error for BoundedErr
Available on crate feature
std
only.1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl Hash for BoundedErr
impl Hash for BoundedErr
source§impl Ord for BoundedErr
impl Ord for BoundedErr
source§fn cmp(&self, other: &BoundedErr) -> Ordering
fn cmp(&self, other: &BoundedErr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BoundedErr
impl PartialEq for BoundedErr
source§fn eq(&self, other: &BoundedErr) -> bool
fn eq(&self, other: &BoundedErr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BoundedErr
impl PartialOrd for BoundedErr
source§fn partial_cmp(&self, other: &BoundedErr) -> Option<Ordering>
fn partial_cmp(&self, other: &BoundedErr) -> Option<Ordering>
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 moreimpl Eq for BoundedErr
impl StructuralPartialEq for BoundedErr
Auto Trait Implementations§
impl Freeze for BoundedErr
impl RefUnwindSafe for BoundedErr
impl Send for BoundedErr
impl Sync for BoundedErr
impl Unpin for BoundedErr
impl UnwindSafe for BoundedErr
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