pub struct DuplicateKeyError;Trait Implementations§
Source§impl Clone for DuplicateKeyError
impl Clone for DuplicateKeyError
impl Copy for DuplicateKeyError
Source§impl Debug for DuplicateKeyError
impl Debug for DuplicateKeyError
Source§impl Display for DuplicateKeyError
impl Display for DuplicateKeyError
impl Eq for DuplicateKeyError
Source§impl Error for DuplicateKeyError
impl Error for DuplicateKeyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 DuplicateKeyError
impl Hash for DuplicateKeyError
Source§impl Ord for DuplicateKeyError
impl Ord for DuplicateKeyError
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DuplicateKeyError
impl PartialEq for DuplicateKeyError
Source§impl PartialOrd for DuplicateKeyError
impl PartialOrd for DuplicateKeyError
impl StructuralPartialEq for DuplicateKeyError
Auto Trait Implementations§
impl Freeze for DuplicateKeyError
impl RefUnwindSafe for DuplicateKeyError
impl Send for DuplicateKeyError
impl Sync for DuplicateKeyError
impl Unpin for DuplicateKeyError
impl UnsafeUnpin for DuplicateKeyError
impl UnwindSafe for DuplicateKeyError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
Checks if this value is equivalent to the given key. Read more
§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.