Enum spaceapi_server::SpaceapiServerError
[−]
pub enum SpaceapiServerError {
Redis(RedisError),
R2d2(InitializationError),
IoError(Error),
Message(Cow<'static, str>),
}Variants
Redis(RedisError)R2d2(InitializationError)IoError(Error)Message(Cow<'static, str>)Trait Implementations
impl Debug for SpaceapiServerError[src]
impl From<RedisError> for SpaceapiServerError
fn from(value: RedisError) -> SpaceapiServerError
Performs the conversion.
impl From<InitializationError> for SpaceapiServerError
fn from(value: InitializationError) -> SpaceapiServerError
Performs the conversion.
impl From<Error> for SpaceapiServerError
fn from(value: Error) -> SpaceapiServerError
Performs the conversion.
impl From<Cow<'static, str>> for SpaceapiServerError
fn from(value: Cow<'static, str>) -> SpaceapiServerError
Performs the conversion.
impl Display for SpaceapiServerError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for SpaceapiServerError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<String> for SpaceapiServerError
fn from(s: String) -> SpaceapiServerError
Performs the conversion.
impl From<&'static str> for SpaceapiServerError
fn from(s: &'static str) -> SpaceapiServerError
Performs the conversion.