Enum cosworth::prelude::ExpectError
source · pub enum ExpectError {
Encoding,
UnknownExpect,
}
Expand description
Error during handling Expect
header
Variants§
Trait Implementations§
source§impl Debug for ExpectError
impl Debug for ExpectError
source§impl Display for ExpectError
impl Display for ExpectError
source§impl Fail for ExpectError
impl Fail for ExpectError
source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresource§impl PartialEq<ExpectError> for ExpectError
impl PartialEq<ExpectError> for ExpectError
source§fn eq(&self, other: &ExpectError) -> bool
fn eq(&self, other: &ExpectError) -> bool
source§impl ResponseError for ExpectError
impl ResponseError for ExpectError
source§fn 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§
§impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere
T: Fail,
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more