Enum relay_auth::KeyParseError
source · pub enum KeyParseError {
BadEncoding,
BadKey,
}
Expand description
Raised if a key could not be parsed.
Variants§
Trait Implementations§
source§impl Debug for KeyParseError
impl Debug for KeyParseError
source§impl Display for KeyParseError
impl Display for KeyParseError
source§impl Error for KeyParseError
impl Error for KeyParseError
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 Hash for KeyParseError
impl Hash for KeyParseError
source§impl PartialEq for KeyParseError
impl PartialEq for KeyParseError
impl Eq for KeyParseError
impl StructuralPartialEq for KeyParseError
Auto Trait Implementations§
impl Freeze for KeyParseError
impl RefUnwindSafe for KeyParseError
impl Send for KeyParseError
impl Sync for KeyParseError
impl Unpin for KeyParseError
impl UnwindSafe for KeyParseError
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