[][src]Enum please::PleaseError

pub enum PleaseError<P> {
    Provider(P),
    Query(Error),
    Expired,
    // some variants omitted
}

Error type returned by this library

Variants

An error occurred whilst obtaining a connection from the connection provider.

An error occurred whilst querying the database.

Tried to use a handle which had already expired.

Trait Implementations

impl<P: Debug> Debug for PleaseError<P>
[src]

Formats the value using the given formatter. Read more

impl<P: PartialEq> PartialEq for PleaseError<P>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<P: Error> Display for PleaseError<P>
[src]

Formats the value using the given formatter. Read more

impl<P: Error> Error for PleaseError<P>
[src]

This method is soft-deprecated. Read more

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

The lower-level source of this error, if any. Read more

impl<P> From<Error> for PleaseError<P>
[src]

Performs the conversion.

Auto Trait Implementations

impl<P> Send for PleaseError<P> where
    P: Send

impl<P> Sync for PleaseError<P> where
    P: Sync

Blanket Implementations

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

Converts the given value to a String. Read more

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> IntoSql for T

Convert self to an expression for Diesel's query builder. Read more

Important traits for &'a mut R

Convert &self to an expression for Diesel's query builder. Read more