[−][src]Struct c3p0_postgres::deadpool::postgres::tokio_postgres::error::Error     
An error communicating with the Postgres server.
Implementations
impl Error[src]
pub fn into_source(
    self
) -> Option<Box<dyn Error + 'static + Send + Sync, Global>>[src]
self
) -> Option<Box<dyn Error + 'static + Send + Sync, Global>>
Consumes the error, returning its cause.
pub fn code(&self) -> Option<&SqlState>[src]
Returns the SQLSTATE error code associated with the error.
This is a convenience method that downcasts the cause to a DbError
and returns its code.
Trait Implementations
impl Debug for Error[src]
impl Display for Error[src]
impl Error for Error[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]
fn description(&self) -> &str1.0.0[src]
fn cause(&self) -> Option<&dyn Error>1.0.0[src]
impl<T> Manager<ClientWrapper, Error> for Manager<T> where
    T: MakeTlsConnect<Socket> + Clone + Sync + Send + 'static,
    <T as MakeTlsConnect<Socket>>::Stream: Sync,
    <T as MakeTlsConnect<Socket>>::Stream: Send,
    <T as MakeTlsConnect<Socket>>::TlsConnect: Sync,
    <T as MakeTlsConnect<Socket>>::TlsConnect: Send,
    <<T as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send, [src]
T: MakeTlsConnect<Socket> + Clone + Sync + Send + 'static,
<T as MakeTlsConnect<Socket>>::Stream: Sync,
<T as MakeTlsConnect<Socket>>::Stream: Send,
<T as MakeTlsConnect<Socket>>::TlsConnect: Sync,
<T as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<T as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send,
pub fn create<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<ClientWrapper, Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Manager<T>: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ClientWrapper, Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Manager<T>: 'async_trait,
pub fn recycle<'life0, 'life1, 'async_trait>(
    &'life0 self, 
    client: &'life1 mut ClientWrapper
) -> Pin<Box<dyn Future<Output = Result<(), RecycleError<Error>>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Manager<T>: 'async_trait, [src]
&'life0 self,
client: &'life1 mut ClientWrapper
) -> Pin<Box<dyn Future<Output = Result<(), RecycleError<Error>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Manager<T>: 'async_trait,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
    T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
V: MultiLane<T>,