pub enum PkceError {
VerifierLength {
length: usize,
},
VerifierCharset {
byte: u8,
},
}Expand description
A code_verifier that does not satisfy RFC 7636 §4.1.
Variants§
Trait Implementations§
impl Copy for PkceError
impl Eq for PkceError
Source§impl Error for PkceError
impl Error for PkceError
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()
impl StructuralPartialEq for PkceError
Auto Trait Implementations§
impl Freeze for PkceError
impl RefUnwindSafe for PkceError
impl Send for PkceError
impl Sync for PkceError
impl Unpin for PkceError
impl UnsafeUnpin for PkceError
impl UnwindSafe for PkceError
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