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)>
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) -> Error
fn from(other: AlreadyClosed) -> Error
Converts to this type from the input type.
source§impl From<Certificate> for Error
impl From<Certificate> for Error
source§fn from(source: Certificate) -> Error
fn from(source: Certificate) -> Error
Converts to this type from the input type.
source§impl From<CertificateChain> for Error
impl From<CertificateChain> for Error
source§fn from(other: CertificateChain) -> Error
fn from(other: CertificateChain) -> Error
Converts to this type from the input type.
source§impl From<Connecting> for Error
impl From<Connecting> for Error
source§fn from(other: Connecting) -> Error
fn from(other: Connecting) -> Error
Converts to this type from the input type.
source§impl From<Connection> for Error
impl From<Connection> for Error
source§fn from(other: Connection) -> Error
fn from(other: Connection) -> Error
Converts to this type from the input type.
source§impl<E> From<Error> for BackendError<E>
impl<E> From<Error> for BackendError<E>
source§fn from(source: Error) -> BackendError<E>
fn from(source: Error) -> BackendError<E>
Converts to this type from the input type.
source§impl<E> From<Error> for HandlerError<E>where
E: ApiError,
impl<E> From<Error> for HandlerError<E>where
E: ApiError,
source§fn from(source: Error) -> HandlerError<E>
fn from(source: Error) -> HandlerError<E>
Converts to this type from the input type.
source§impl<T> From<InsertError<T>> for Error
impl<T> From<InsertError<T>> for Error
source§fn from(error: InsertError<T>) -> Error
fn from(error: InsertError<T>) -> Error
Converts to this type from the input type.
source§impl From<InvalidNameError> for Error
impl From<InvalidNameError> for Error
source§fn from(err: InvalidNameError) -> Error
fn from(err: InvalidNameError) -> Error
Converts to this type from the input type.
source§impl From<PermissionDenied> for Error
impl From<PermissionDenied> for Error
source§fn from(err: PermissionDenied) -> Error
fn from(err: PermissionDenied) -> Error
Converts to this type from the input type.
source§impl From<PrivateKey> for Error
impl From<PrivateKey> for Error
source§fn from(other: PrivateKey) -> Error
fn from(other: PrivateKey) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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