pub enum InvalidIdKind {
Empty,
ControlCharacter,
}Expand description
Why an identifier was rejected at its public construction boundary.
Variants§
Empty
An identity must contain at least one character.
ControlCharacter
Provider identities cannot contain control characters.
Trait Implementations§
Source§impl Clone for InvalidIdKind
impl Clone for InvalidIdKind
impl Copy for InvalidIdKind
Source§impl Debug for InvalidIdKind
impl Debug for InvalidIdKind
Source§impl Display for InvalidIdKind
impl Display for InvalidIdKind
impl Eq for InvalidIdKind
Source§impl Error for InvalidIdKind
impl Error for InvalidIdKind
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 PartialEq for InvalidIdKind
impl PartialEq for InvalidIdKind
impl StructuralPartialEq for InvalidIdKind
Auto Trait Implementations§
impl Freeze for InvalidIdKind
impl RefUnwindSafe for InvalidIdKind
impl Send for InvalidIdKind
impl Sync for InvalidIdKind
impl Unpin for InvalidIdKind
impl UnsafeUnpin for InvalidIdKind
impl UnwindSafe for InvalidIdKind
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