Enum sentry_types::AuthParseError
source · [−]pub enum AuthParseError {
NonSentryAuth,
InvalidTimestamp,
InvalidVersion,
MissingPublicKey,
}
Expand description
Represents an auth header parsing error.
Variants
NonSentryAuth
Raised if the auth header is not indicating sentry auth
InvalidTimestamp
Raised if the timestamp value is invalid.
InvalidVersion
Raised if the version value is invalid
MissingPublicKey
Raised if the public key is missing entirely
Trait Implementations
sourceimpl Clone for AuthParseError
impl Clone for AuthParseError
sourcefn clone(&self) -> AuthParseError
fn clone(&self) -> AuthParseError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthParseError
impl Debug for AuthParseError
sourceimpl Display for AuthParseError
impl Display for AuthParseError
sourceimpl Fail for AuthParseError
impl Fail for AuthParseError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
sourceimpl PartialEq<AuthParseError> for AuthParseError
impl PartialEq<AuthParseError> for AuthParseError
impl Copy for AuthParseError
impl Eq for AuthParseError
impl StructuralEq for AuthParseError
impl StructuralPartialEq for AuthParseError
Auto Trait Implementations
impl RefUnwindSafe for AuthParseError
impl Send for AuthParseError
impl Sync for AuthParseError
impl Unpin for AuthParseError
impl UnwindSafe for AuthParseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more