Enum feattle_ui::RenderError
source · pub enum RenderError {
NotFound,
Template(RenderError),
Serialization(Error),
History(HistoryError),
Update(UpdateError),
Reload(BoxError),
}
Expand description
Represent what can go wrong while handling a request
Variants§
NotFound
The requested page does not exist
Template(RenderError)
The template failed to render
Serialization(Error)
Failed to serialize or deserialize JSON
History(HistoryError)
Failed to recover history information
Update(UpdateError)
Failed to update value
Reload(BoxError)
Failed to reload new version
Trait Implementations§
source§impl Debug for RenderError
impl Debug for RenderError
source§impl Display for RenderError
impl Display for RenderError
source§impl Error for RenderError
impl Error for RenderError
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<Error> for RenderError
impl From<Error> for RenderError
source§impl From<HistoryError> for RenderError
impl From<HistoryError> for RenderError
source§fn from(source: HistoryError) -> Self
fn from(source: HistoryError) -> Self
Converts to this type from the input type.
source§impl From<RenderError> for RenderError
impl From<RenderError> for RenderError
source§fn from(source: RenderError) -> Self
fn from(source: RenderError) -> Self
Converts to this type from the input type.
source§impl From<UpdateError> for RenderError
impl From<UpdateError> for RenderError
source§fn from(source: UpdateError) -> Self
fn from(source: UpdateError) -> Self
Converts to this type from the input type.
source§impl IntoResponse for RenderError
impl IntoResponse for RenderError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for RenderError
impl !RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl !UnwindSafe for RenderError
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