Struct zfc::CardinalityErr
source · pub struct CardinalityErr;
Expand description
Error returned when attempting to create a
Cardinality
from a BoundedCardinality
such that
the lower bound is less than the upper bound.
Trait Implementations§
source§impl Clone for CardinalityErr
impl Clone for CardinalityErr
source§fn clone(&self) -> CardinalityErr
fn clone(&self) -> CardinalityErr
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 CardinalityErr
impl Debug for CardinalityErr
source§impl Default for CardinalityErr
impl Default for CardinalityErr
source§fn default() -> CardinalityErr
fn default() -> CardinalityErr
Returns the “default value” for a type. Read more
source§impl Display for CardinalityErr
impl Display for CardinalityErr
source§impl Error for CardinalityErr
Available on crate feature std
only.
impl Error for CardinalityErr
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 CardinalityErr
impl Hash for CardinalityErr
source§impl Ord for CardinalityErr
impl Ord for CardinalityErr
source§fn cmp(&self, other: &CardinalityErr) -> Ordering
fn cmp(&self, other: &CardinalityErr) -> 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 CardinalityErr
impl PartialEq for CardinalityErr
source§fn eq(&self, other: &CardinalityErr) -> bool
fn eq(&self, other: &CardinalityErr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CardinalityErr
impl PartialOrd for CardinalityErr
source§fn partial_cmp(&self, other: &CardinalityErr) -> Option<Ordering>
fn partial_cmp(&self, other: &CardinalityErr) -> 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 CardinalityErr
impl StructuralPartialEq for CardinalityErr
Auto Trait Implementations§
impl Freeze for CardinalityErr
impl RefUnwindSafe for CardinalityErr
impl Send for CardinalityErr
impl Sync for CardinalityErr
impl Unpin for CardinalityErr
impl UnwindSafe for CardinalityErr
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