pub enum UuidPoolError {
FailedToGenerateUniqueUuidError(String),
FailedToFindUuidInPoolError(String),
FailedToSetUuidInPoolError(String),
FailedToAddUuidToPoolError(String),
FailedToRemoveUuidFromPoolError(String),
FailedToReplaceUuidInPoolError(String),
}Expand description
Error type for UUID pool operations.
Variants§
FailedToGenerateUniqueUuidError(String)
FailedToFindUuidInPoolError(String)
FailedToSetUuidInPoolError(String)
FailedToAddUuidToPoolError(String)
FailedToRemoveUuidFromPoolError(String)
FailedToReplaceUuidInPoolError(String)
Trait Implementations§
Source§impl Clone for UuidPoolError
impl Clone for UuidPoolError
Source§fn clone(&self) -> UuidPoolError
fn clone(&self) -> UuidPoolError
Returns a duplicate 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 UuidPoolError
impl Debug for UuidPoolError
Source§impl Display for UuidPoolError
impl Display for UuidPoolError
Source§impl Error for UuidPoolError
impl Error for UuidPoolError
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 UuidPoolError
impl Hash for UuidPoolError
Source§impl PartialEq for UuidPoolError
impl PartialEq for UuidPoolError
impl Eq for UuidPoolError
impl StructuralPartialEq for UuidPoolError
Auto Trait Implementations§
impl Freeze for UuidPoolError
impl RefUnwindSafe for UuidPoolError
impl Send for UuidPoolError
impl Sync for UuidPoolError
impl Unpin for UuidPoolError
impl UnsafeUnpin for UuidPoolError
impl UnwindSafe for UuidPoolError
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