Enum feattle::HistoryError [−][src]
pub enum HistoryError<PersistError> where
PersistError: 'static + Error + Send + Sync, {
UnknownKey(String),
Persistence(PersistError),
}
Expand description
The error type returned by Feattles::history()
Variants
UnknownKey(String)
The key is unknown
Tuple Fields of UnknownKey
0: String
Failed to load persisted state
Trait Implementations
impl<PersistError> Error for HistoryError<PersistError> where
PersistError: 'static + Error + Send + Sync,
HistoryError<PersistError>: Debug,
HistoryError<PersistError>: Display,
impl<PersistError> Error for HistoryError<PersistError> where
PersistError: 'static + Error + Send + Sync,
HistoryError<PersistError>: Debug,
HistoryError<PersistError>: Display,
impl<PersistError> From<HistoryError<PersistError>> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
impl<PersistError> From<HistoryError<PersistError>> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
Performs the conversion.