pub enum MissingKey {
Spec(String),
FromInput {
len: usize,
},
}Expand description
The key named in an Error::KeyNotFound.
A key written in the spec is kept so spec mistakes are easy to find. A key built from the
request body, through & or @, is reduced to its length. Callers log these errors, and the
body may hold personal data of any size.
Variants§
Trait Implementations§
Source§impl Clone for MissingKey
impl Clone for MissingKey
Source§impl Debug for MissingKey
impl Debug for MissingKey
Source§impl Display for MissingKey
impl Display for MissingKey
impl Eq for MissingKey
Source§impl PartialEq for MissingKey
impl PartialEq for MissingKey
impl StructuralPartialEq for MissingKey
Auto Trait Implementations§
impl Forget for MissingKey
impl Freeze for MissingKey
impl Move for MissingKey
impl RefUnwindSafe for MissingKey
impl Send for MissingKey
impl Sync for MissingKey
impl Unpin for MissingKey
impl UnsafeUnpin for MissingKey
impl UnwindSafe for MissingKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.