Enum sentry::response::ResponseError
source · pub enum ResponseError {
NotFound,
BadRequest(String),
FailedValidation(String),
Unauthorized,
Forbidden(String),
Conflict(String),
TooManyRequests(String),
}
Variants
NotFound
BadRequest(String)
FailedValidation(String)
Unauthorized
Forbidden(String)
Conflict(String)
TooManyRequests(String)
Trait Implementations
sourceimpl Debug for ResponseError
impl Debug for ResponseError
sourceimpl<T> From<T> for ResponseErrorwhere
T: Error + 'static,
impl<T> From<T> for ResponseErrorwhere
T: Error + 'static,
sourceimpl IntoResponse for ResponseError
impl IntoResponse for ResponseError
sourcefn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
sourceimpl PartialEq<ResponseError> for ResponseError
impl PartialEq<ResponseError> for ResponseError
sourcefn eq(&self, other: &ResponseError) -> bool
fn eq(&self, other: &ResponseError) -> bool
impl Eq for ResponseError
impl StructuralEq for ResponseError
impl StructuralPartialEq for ResponseError
Auto Trait Implementations
impl RefUnwindSafe for ResponseError
impl Send for ResponseError
impl Sync for ResponseError
impl Unpin for ResponseError
impl UnwindSafe for ResponseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.