pub enum PgIndexError {
Empty,
EmptyExpression,
EmptyPredicate,
UnknownMethod,
ControlCharacter,
Identifier(PgIdentifierError),
}Expand description
Error returned when PostgreSQL index metadata is invalid.
Variants§
Trait Implementations§
Source§impl Clone for PgIndexError
impl Clone for PgIndexError
Source§fn clone(&self) -> PgIndexError
fn clone(&self) -> PgIndexError
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 PgIndexError
impl Debug for PgIndexError
Source§impl Display for PgIndexError
impl Display for PgIndexError
Source§impl Error for PgIndexError
impl Error for PgIndexError
1.30.0 · 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 PartialEq for PgIndexError
impl PartialEq for PgIndexError
Source§fn eq(&self, other: &PgIndexError) -> bool
fn eq(&self, other: &PgIndexError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PgIndexError
impl StructuralPartialEq for PgIndexError
Auto Trait Implementations§
impl Freeze for PgIndexError
impl RefUnwindSafe for PgIndexError
impl Send for PgIndexError
impl Sync for PgIndexError
impl Unpin for PgIndexError
impl UnsafeUnpin for PgIndexError
impl UnwindSafe for PgIndexError
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