pub enum PostgresStoreError {
Postgres(Error),
Pool(Error),
Migration(Error),
Mapping(String),
}Expand description
Error type for PostgresPersistenceStore operations.
Variants§
Trait Implementations§
Source§impl Debug for PostgresStoreError
impl Debug for PostgresStoreError
Source§impl Display for PostgresStoreError
impl Display for PostgresStoreError
Source§impl Error for PostgresStoreError
impl Error for PostgresStoreError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for PostgresStoreError
impl From<Error> for PostgresStoreError
Source§impl From<Error> for PostgresStoreError
impl From<Error> for PostgresStoreError
Auto Trait Implementations§
impl !RefUnwindSafe for PostgresStoreError
impl !UnwindSafe for PostgresStoreError
impl Freeze for PostgresStoreError
impl Send for PostgresStoreError
impl Sync for PostgresStoreError
impl Unpin for PostgresStoreError
impl UnsafeUnpin for PostgresStoreError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more