pub struct EntryError<K1, K2> {
pub error: ErrorKind,
pub keys: (K1, K2),
}
Expand description
Fields§
§error: ErrorKind
A view into an error kind returned by entry
,
insert
, try_insert
methods of the DHashMap
.
It is part of the EntryError
structure, InsertError
structure and TryInsertError
enum. Explains entry
, insert
,
try_insert
methods fail. For more information about error
kind look at ErrorKind
enum.
keys: (K1, K2)
The provided values of keys that were returned because of error. For more information about
error kind look at ErrorKind
enum.
Trait Implementations§
Source§impl<K1: Debug, K2: Debug> Error for EntryError<K1, K2>
impl<K1: Debug, K2: Debug> Error for EntryError<K1, K2>
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()
impl<K1, K2> StructuralPartialEq for EntryError<K1, K2>
Auto Trait Implementations§
impl<K1, K2> Freeze for EntryError<K1, K2>
impl<K1, K2> RefUnwindSafe for EntryError<K1, K2>where
K1: RefUnwindSafe,
K2: RefUnwindSafe,
impl<K1, K2> Send for EntryError<K1, K2>
impl<K1, K2> Sync for EntryError<K1, K2>
impl<K1, K2> Unpin for EntryError<K1, K2>
impl<K1, K2> UnwindSafe for EntryError<K1, K2>where
K1: UnwindSafe,
K2: UnwindSafe,
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