pub enum PostgresSectionError {
Snapshot(SnapshotError),
MissingSection,
Malformed(String),
}Expand description
Errors while reading Postgres-owned snapshot sections.
Variants§
Snapshot(SnapshotError)
Underlying snapshot validation failed.
MissingSection
Expected Postgres section was absent.
Malformed(String)
Section payload could not be interpreted.
Trait Implementations§
Source§impl Clone for PostgresSectionError
impl Clone for PostgresSectionError
Source§fn clone(&self) -> PostgresSectionError
fn clone(&self) -> PostgresSectionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostgresSectionError
impl Debug for PostgresSectionError
Source§impl PartialEq for PostgresSectionError
impl PartialEq for PostgresSectionError
Source§fn eq(&self, other: &PostgresSectionError) -> bool
fn eq(&self, other: &PostgresSectionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PostgresSectionError
impl StructuralPartialEq for PostgresSectionError
Auto Trait Implementations§
impl Freeze for PostgresSectionError
impl RefUnwindSafe for PostgresSectionError
impl Send for PostgresSectionError
impl Sync for PostgresSectionError
impl Unpin for PostgresSectionError
impl UnsafeUnpin for PostgresSectionError
impl UnwindSafe for PostgresSectionError
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