Enum brokkr::Error [−][src]
pub enum Error { InvalidTransition(String), RedisError(RedisError), SerdeError(Error), }
Main error type for this crate.
Variants
InvalidTransition(String)
Error occuring when trying to moving a job to an invalid state.
RedisError(RedisError)
Wrap a Redis error
SerdeError(Error)
Wrap a serde error occuring when de-/serializing data structures.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl _Error for Error
[src]
impl _Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&_Error>
[src]
fn cause(&self) -> Option<&_Error>
The lower-level cause of this error, if any. Read more
impl From<RedisError> for Error
[src]
impl From<RedisError> for Error
fn from(e: RedisError) -> Self
[src]
fn from(e: RedisError) -> Self
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error