Enum postgres_tx_retry::Error
source · [−]Expand description
Library errors.
Variants
Pool(PoolError<Error>)
deadpool
.
Postgres(Error)
tokio_postgres
.
R2d2(Error)
r2d2
.
Other(E)
All other errors, e.g. returned from transaction closure.
Trait Implementations
Auto Trait Implementations
impl<E> !RefUnwindSafe for Error<E>
impl<E> Send for Error<E> where
E: Send,
impl<E> Sync for Error<E> where
E: Sync,
impl<E> Unpin for Error<E> where
E: Unpin,
impl<E> !UnwindSafe for Error<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more