[][src]Enum spaceapi_server::SpaceapiServerError

pub enum SpaceapiServerError {
    Redis(RedisError),
    R2d2(R2d2Error),
    IoError(Error),
    Message(Cow<'static, str>),
}

A SpaceapiServerError wraps general problems that can occur in the SpaceAPI server.

Variants

Redis(RedisError)

A problem with redis occurred.

R2d2(R2d2Error)

A problem with the redis connection pool occurred.

IoError(Error)

An I/O error occurred.

Message(Cow<'static, str>)

Another error happened.

Trait Implementations

impl Debug for SpaceapiServerError[src]

impl Display for SpaceapiServerError[src]

impl Error for SpaceapiServerError[src]

impl From<&'static str> for SpaceapiServerError[src]

impl From<Error> for SpaceapiServerError[src]

impl From<Error> for SpaceapiServerError[src]

impl From<RedisError> for SpaceapiServerError[src]

impl From<String> for SpaceapiServerError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> PersistentInto<Arc<Mutex<T>>> for T

impl<T> PersistentInto<Arc<RwLock<T>>> for T

impl<T> PersistentInto<Arc<T>> for T

impl<T> PersistentInto<T> for T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<T> UnsafeAny for T where
    T: Any