pub enum ServerError {
Store(RvfError),
BadRequest(String),
NotReady,
}Expand description
Application-level error type.
Variants§
Store(RvfError)
The store returned an error.
BadRequest(String)
A request body could not be deserialized.
NotReady
The store is not initialized yet.
Trait Implementations§
Source§impl Debug for ServerError
impl Debug for ServerError
Source§impl From<RvfError> for ServerError
impl From<RvfError> for ServerError
Source§impl IntoResponse for ServerError
impl IntoResponse for ServerError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for ServerError
impl RefUnwindSafe for ServerError
impl Send for ServerError
impl Sync for ServerError
impl Unpin for ServerError
impl UnwindSafe for ServerError
Blanket Implementations§
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