Enum actix_web::error::ExpectError
source · pub enum ExpectError {
Encoding,
UnknownExpect,
}
Expand description
Error during handling Expect
header
Variants
Encoding
Expect header value can not be converted to utf8
UnknownExpect
Unknown expect value
Trait Implementations
sourceimpl Debug for ExpectError
impl Debug for ExpectError
sourceimpl Display for ExpectError
impl Display for ExpectError
sourceimpl Fail for ExpectError
impl Fail for ExpectError
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 moresourceimpl PartialEq<ExpectError> for ExpectError
impl PartialEq<ExpectError> for ExpectError
sourcefn eq(&self, other: &ExpectError) -> bool
fn eq(&self, other: &ExpectError) -> bool
sourceimpl ResponseError for ExpectError
impl ResponseError for ExpectError
sourcefn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Create response for error Read more
impl StructuralPartialEq for ExpectError
Auto Trait Implementations
impl RefUnwindSafe for ExpectError
impl Send for ExpectError
impl Sync for ExpectError
impl Unpin for ExpectError
impl UnwindSafe for ExpectError
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