pub struct DuplicateEntryIdError(pub EntryId);Expand description
Attempted to add an entry with an ID that already exists in the database.
Tuple Fields§
§0: EntryIdTrait Implementations§
Source§impl Debug for DuplicateEntryIdError
impl Debug for DuplicateEntryIdError
Source§impl Display for DuplicateEntryIdError
impl Display for DuplicateEntryIdError
Source§impl Error for DuplicateEntryIdError
impl Error for DuplicateEntryIdError
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 Freeze for DuplicateEntryIdError
impl RefUnwindSafe for DuplicateEntryIdError
impl Send for DuplicateEntryIdError
impl Sync for DuplicateEntryIdError
impl Unpin for DuplicateEntryIdError
impl UnsafeUnpin for DuplicateEntryIdError
impl UnwindSafe for DuplicateEntryIdError
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