pub struct DuplicateEntry<T = Entry>(pub Box<T>, pub Box<T>);Expand description
Duplicate entry error.
Tuple Fields§
§0: Box<T>§1: Box<T>Implementations§
Source§impl<T> DuplicateEntry<T>
impl<T> DuplicateEntry<T>
Trait Implementations§
Source§impl<T: Debug> Debug for DuplicateEntry<T>
impl<T: Debug> Debug for DuplicateEntry<T>
Source§impl Display for DuplicateEntry
impl Display for DuplicateEntry
Source§impl Error for DuplicateEntry
impl Error for DuplicateEntry
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()
Auto Trait Implementations§
impl<T> Freeze for DuplicateEntry<T>
impl<T> RefUnwindSafe for DuplicateEntry<T>where
Box<T>: RefUnwindSafe,
impl<T> Send for DuplicateEntry<T>
impl<T> Sync for DuplicateEntry<T>
impl<T> Unpin for DuplicateEntry<T>
impl<T> UnsafeUnpin for DuplicateEntry<T>where
Box<T>: UnsafeUnpin,
impl<T> UnwindSafe for DuplicateEntry<T>where
Box<T>: 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
Source§impl<T> JsonAt for T
impl<T> JsonAt for T
Source§fn json_at<F>(
self,
location: impl Into<Vec<JsonBacktraceFrame<F>>>,
) -> JsonLocated<T, F>
fn json_at<F>( self, location: impl Into<Vec<JsonBacktraceFrame<F>>>, ) -> JsonLocated<T, F>
Pairs
self with location.