Enum cosworth::prelude::server::AcceptorError
source · pub enum AcceptorError<T> {
Service(T),
Io(Error),
Timeout,
}
Expand description
Errors produced by AcceptorError
service.
Variants§
Service(T)
The inner service error
Io(Error)
Io specific error
Timeout
The request did not complete within the specified timeout.
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for AcceptorError<T>
impl<T> Send for AcceptorError<T>where
T: Send,
impl<T> Sync for AcceptorError<T>where
T: Sync,
impl<T> Unpin for AcceptorError<T>where
T: Unpin,
impl<T> !UnwindSafe for AcceptorError<T>
Blanket Implementations§
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