Enum spaceapi_server::SpaceapiServerError [−][src]
pub enum SpaceapiServerError {
Redis(RedisError),
R2d2(R2d2Error),
IoError(Error),
Message(Cow<'static, str>),
}Expand description
A SpaceapiServerError wraps general problems that can occur in the SpaceAPI server.
Variants
A problem with redis occurred.
Tuple Fields of Redis
0: RedisErrorA problem with the redis connection pool occurred.
Tuple Fields of R2d2
0: R2d2ErrorAn I/O error occurred.
Tuple Fields of IoError
0: ErrorAnother error happened.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for SpaceapiServerError
impl Send for SpaceapiServerError
impl Sync for SpaceapiServerError
impl Unpin for SpaceapiServerError
impl !UnwindSafe for SpaceapiServerError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn persistent_into(self) -> Arc<Mutex<T>>
pub fn persistent_into(self) -> Arc<Mutex<T>>
Convert self into a value of type T.
pub fn persistent_into(self) -> Arc<RwLock<T>>
pub fn persistent_into(self) -> Arc<RwLock<T>>
Convert self into a value of type T.
impl<T> PersistentInto<Arc<T>> for T
impl<T> PersistentInto<Arc<T>> for T
pub fn persistent_into(self) -> Arc<T>
pub fn persistent_into(self) -> Arc<T>
Convert self into a value of type T.
pub fn persistent_into(self) -> T
pub fn persistent_into(self) -> T
Convert self into a value of type T.