pub enum Error {
WebSocket(Error),
Io(Error),
Request(Arc<dyn AnyError>),
Core(Error),
InternalCommunication,
Database(Error),
Certificate(Certificate),
Pem(PemError),
Acme(AcmeError),
AcmeOrder(OrderError),
TlsSigningError,
}
Expand description
An error occurred while interacting with a Server
.
Variants§
WebSocket(Error)
An error occurred from the Websocket transport layer.
Io(Error)
An error occurred from IO
Request(Arc<dyn AnyError>)
An error occurred while processing a request
Core(Error)
An error occurred from within the schema.
InternalCommunication
An internal error occurred while waiting for a message.
Database(Error)
An error occurred while interacting with a local database.
Certificate(Certificate)
An error occurred with a certificate.
Pem(PemError)
An error occurred parsing a PEM file.
Acme(AcmeError)
An error occurred requesting an ACME certificate.
AcmeOrder(OrderError)
An error occurred while processing an ACME order.
TlsSigningError
An error occurred during tls signing.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AlreadyClosed> for Error
impl From<AlreadyClosed> for Error
Source§fn from(other: AlreadyClosed) -> Self
fn from(other: AlreadyClosed) -> Self
Converts to this type from the input type.
Source§impl From<Certificate> for Error
impl From<Certificate> for Error
Source§fn from(source: Certificate) -> Self
fn from(source: Certificate) -> Self
Converts to this type from the input type.
Source§impl From<CertificateChain> for Error
impl From<CertificateChain> for Error
Source§fn from(other: CertificateChain) -> Self
fn from(other: CertificateChain) -> Self
Converts to this type from the input type.
Source§impl From<Connecting> for Error
impl From<Connecting> for Error
Source§fn from(other: Connecting) -> Self
fn from(other: Connecting) -> Self
Converts to this type from the input type.
Source§impl From<Connection> for Error
impl From<Connection> for Error
Source§fn from(other: Connection) -> Self
fn from(other: Connection) -> Self
Converts to this type from the input type.
Source§impl<E> From<Error> for BackendError<E>
impl<E> From<Error> for BackendError<E>
Source§impl<T> From<InsertError<T>> for Error
impl<T> From<InsertError<T>> for Error
Source§fn from(error: InsertError<T>) -> Self
fn from(error: InsertError<T>) -> Self
Converts to this type from the input type.
Source§impl From<InvalidNameError> for Error
impl From<InvalidNameError> for Error
Source§fn from(err: InvalidNameError) -> Self
fn from(err: InvalidNameError) -> Self
Converts to this type from the input type.
Source§impl From<OrderError> for Error
impl From<OrderError> for Error
Source§fn from(source: OrderError) -> Self
fn from(source: OrderError) -> Self
Converts to this type from the input type.
Source§impl From<PermissionDenied> for Error
impl From<PermissionDenied> for Error
Source§fn from(err: PermissionDenied) -> Self
fn from(err: PermissionDenied) -> Self
Converts to this type from the input type.
Source§impl From<PrivateKey> for Error
impl From<PrivateKey> for Error
Source§fn from(other: PrivateKey) -> Self
fn from(other: PrivateKey) -> Self
Converts to this type from the input type.
Source§impl From<TryRecvError> for Error
impl From<TryRecvError> for Error
Source§fn from(_: TryRecvError) -> Self
fn from(_: TryRecvError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more