pub enum InvalidSuffixReason {
InvalidLength,
NonAsciiCharacter,
InvalidFirstCharacter,
InvalidCharacter,
}Expand description
Re-exports from the typeid_suffix crate, including TypeIdSuffix, UuidVersion, and UUID version types (e.g., V4, V7).
Specifies the reason for an invalid TypeID suffix.
This enum provides more granular information about why a TypeID suffix
is considered invalid.
Variants§
InvalidLength
The suffix does not have the required length of 26 characters.
NonAsciiCharacter
The suffix contains one or more non-ASCII characters.
InvalidFirstCharacter
The first character of the suffix is greater than ‘7’.
InvalidCharacter
The suffix contains a character that is not in the base32 alphabet.
Trait Implementations§
Source§impl Clone for InvalidSuffixReason
impl Clone for InvalidSuffixReason
Source§fn clone(&self) -> InvalidSuffixReason
fn clone(&self) -> InvalidSuffixReason
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 InvalidSuffixReason
impl Debug for InvalidSuffixReason
Source§impl Display for InvalidSuffixReason
impl Display for InvalidSuffixReason
Source§impl PartialEq for InvalidSuffixReason
impl PartialEq for InvalidSuffixReason
impl Eq for InvalidSuffixReason
impl StructuralPartialEq for InvalidSuffixReason
Auto Trait Implementations§
impl Freeze for InvalidSuffixReason
impl RefUnwindSafe for InvalidSuffixReason
impl Send for InvalidSuffixReason
impl Sync for InvalidSuffixReason
impl Unpin for InvalidSuffixReason
impl UnwindSafe for InvalidSuffixReason
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