Skip to main content

MapRedisError

Trait MapRedisError 

Source
pub trait MapRedisError<T> {
    // Required method
    fn map_redis_err(self) -> Result<T, String>;
}
Expand description

Extension trait for converting results to Redis error format.

Required Methods§

Implementations on Foreign Types§

Source§

impl<T, E: AsRedisError> MapRedisError<T> for Result<T, E>

Implementors§