pub enum KeyIdError {
MissingSigil,
EmptySuite,
EmptyName,
}Expand description
Typed rejection for a malformed key spelling (fail closed — a key that does not parse is never coerced into one that does).
Variants§
MissingSigil
The spelling does not start with the @ sigil.
EmptySuite
@:name — an explicit-but-empty suite marker.
EmptyName
@ or @suite: — no key name.
Trait Implementations§
Source§impl Clone for KeyIdError
impl Clone for KeyIdError
Source§impl Debug for KeyIdError
impl Debug for KeyIdError
Source§impl Display for KeyIdError
impl Display for KeyIdError
impl Eq for KeyIdError
Source§impl PartialEq for KeyIdError
impl PartialEq for KeyIdError
impl StructuralPartialEq for KeyIdError
Auto Trait Implementations§
impl Forget for KeyIdError
impl Freeze for KeyIdError
impl Move for KeyIdError
impl RefUnwindSafe for KeyIdError
impl Send for KeyIdError
impl Sync for KeyIdError
impl Unpin for KeyIdError
impl UnsafeUnpin for KeyIdError
impl UnwindSafe for KeyIdError
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