Enum feattle_ui::RenderError [−][src]
pub enum RenderError<PersistError: Error + Send + Sync + 'static> {
NotFound,
Template(RenderError),
Serialization(Error),
History(HistoryError<PersistError>),
Update(UpdateError<PersistError>),
Reload(PersistError),
}
Expand description
Represent what can go wrong while handling a request
Variants
The requested page does not exist
Template(RenderError)
The template failed to render
Tuple Fields of Template
0: RenderError
Serialization(Error)
Failed to serialize or deserialize JSON
Tuple Fields of Serialization
0: Error
History(HistoryError<PersistError>)
Failed to recover history information
Tuple Fields of History
0: HistoryError<PersistError>
Update(UpdateError<PersistError>)
Failed to update value
Tuple Fields of Update
0: UpdateError<PersistError>
Failed to reload new version
Trait Implementations
impl<PersistError: Error + Send + Sync + 'static> Error for RenderError<PersistError> where
HistoryError<PersistError>: Error + 'static,
UpdateError<PersistError>: Error + 'static,
PersistError: Error + 'static,
Self: Debug + Display,
impl<PersistError: Error + Send + Sync + 'static> Error for RenderError<PersistError> where
HistoryError<PersistError>: Error + 'static,
UpdateError<PersistError>: Error + 'static,
PersistError: Error + 'static,
Self: Debug + Display,
impl<PersistError: Error + Send + Sync + 'static> From<HistoryError<PersistError>> for RenderError<PersistError>
impl<PersistError: Error + Send + Sync + 'static> From<HistoryError<PersistError>> for RenderError<PersistError>
Performs the conversion.
impl<PersistError: Error + Send + Sync + 'static> From<RenderError> for RenderError<PersistError>
impl<PersistError: Error + Send + Sync + 'static> From<RenderError> for RenderError<PersistError>
Performs the conversion.
impl<PersistError: Error + Send + Sync + 'static> From<UpdateError<PersistError>> for RenderError<PersistError>
impl<PersistError: Error + Send + Sync + 'static> From<UpdateError<PersistError>> for RenderError<PersistError>
Performs the conversion.