#[non_exhaustive]pub enum UuidParseError {
InvalidUuid(Error),
}Expand description
Error type for UUID parsing failures
This error is returned when a string cannot be parsed as a valid Uuid<D>.
Only available when the uuid feature is enabled.
Note: UuidParseError does not implement PartialEq because
uuid::Error does not implement it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for UuidParseError
impl Clone for UuidParseError
Source§fn clone(&self) -> UuidParseError
fn clone(&self) -> UuidParseError
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 UuidParseError
impl Debug for UuidParseError
Source§impl Display for UuidParseError
impl Display for UuidParseError
Source§impl Error for UuidParseError
impl Error for UuidParseError
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 UuidParseError
impl RefUnwindSafe for UuidParseError
impl Send for UuidParseError
impl Sync for UuidParseError
impl Unpin for UuidParseError
impl UnsafeUnpin for UuidParseError
impl UnwindSafe for UuidParseError
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