Struct rustworkx_core::token_swapper::MapNotPossible
source · pub struct MapNotPossible;
Expand description
Error returned by token swapper if the request mapping is impossible
Trait Implementations§
source§impl Clone for MapNotPossible
impl Clone for MapNotPossible
source§fn clone(&self) -> MapNotPossible
fn clone(&self) -> MapNotPossible
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 MapNotPossible
impl Debug for MapNotPossible
source§impl Display for MapNotPossible
impl Display for MapNotPossible
source§impl Error for MapNotPossible
impl Error for MapNotPossible
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 Ord for MapNotPossible
impl Ord for MapNotPossible
source§fn cmp(&self, other: &MapNotPossible) -> Ordering
fn cmp(&self, other: &MapNotPossible) -> 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 MapNotPossible
impl PartialEq for MapNotPossible
source§fn eq(&self, other: &MapNotPossible) -> bool
fn eq(&self, other: &MapNotPossible) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MapNotPossible
impl PartialOrd for MapNotPossible
source§fn partial_cmp(&self, other: &MapNotPossible) -> Option<Ordering>
fn partial_cmp(&self, other: &MapNotPossible) -> 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 Copy for MapNotPossible
impl Eq for MapNotPossible
impl StructuralEq for MapNotPossible
impl StructuralPartialEq for MapNotPossible
Auto Trait Implementations§
impl RefUnwindSafe for MapNotPossible
impl Send for MapNotPossible
impl Sync for MapNotPossible
impl Unpin for MapNotPossible
impl UnwindSafe for MapNotPossible
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.