pub(crate) enum ErrorKind {
ParseChar {
character: char,
index: usize,
},
ParseByteLength {
len: usize,
},
ParseGroupCount {
count: usize,
},
ParseGroupLength {
group: usize,
len: usize,
index: usize,
},
ParseInvalidUTF8,
ParseLength {
len: usize,
},
ParseOther,
Nil,
InvalidSystemTime(&'static str),
}Variants§
ParseChar
Invalid character in the Uuid string.
ParseByteLength
A byte array didn’t contain 16 bytes.
ParseGroupCount
A hyphenated Uuid didn’t contain 5 groups
ParseGroupLength
A hyphenated Uuid had a group that wasn’t the right length.
ParseInvalidUTF8
The input was not a valid UTF8 string.
ParseLength
The input has an invalid length.
ParseOther
Some other parsing error occurred.
Nil
The UUID is nil.
InvalidSystemTime(&'static str)
A system time was invalid.
Trait Implementations§
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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