Enum bonsaidb::server::BackendError [−][src]
pub enum BackendError<E = Infallible> {
Backend(E),
Server(Error),
}
Expand description
An error that can occur inside of a Backend
function.
Variants
Backend(E)
A backend-related error.
Server(Error)
Tuple Fields
0: Error
A server-related error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<E = Infallible> !RefUnwindSafe for BackendError<E>
impl<E> Send for BackendError<E> where
E: Send,
impl<E> Sync for BackendError<E> where
E: Sync,
impl<E> Unpin for BackendError<E> where
E: Unpin,
impl<E = Infallible> !UnwindSafe for BackendError<E>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more