[][src]Enum cueball::error::Error

pub enum Error {
    ClaimFailure,
    StopCalledByClone,
    BackendWithNoConnection,
    ConnectionRetrievalFailure,
    // some variants omitted
}

The cueball Error type is an enum that represents the different errors that may be returned by the cueball API.

Variants

ClaimFailure

The call to claim to failed to retrieve a connection within the specified timeout period.

StopCalledByClone

The stop function was called on a pool clone. Only the original connction pool instance may stop a connection pool. Thread JoinHandles may not be cloned and therefore invocation of this function by a clone of the pool results in an error.

BackendWithNoConnection

A backend key was found with no associated connection. This error should never happen and is only represented for completeness. Please file a bug if it is encountered.

ConnectionRetrievalFailure

A connection could not be retrieved from the connection pool even though the connection pool accounting indicated one should be available. This error should never happen and is only represented for completeness. Please file a bug if it is encountered.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

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> From<T> for T[src]

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

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

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,