Enum alloy_primitives::postgres::FromSqlError
source · pub enum FromSqlError {
Overflow,
ParseError(Type),
}
Available on crate feature
postgres
only.Expand description
Error when converting from Postgres types.
Variants§
Trait Implementations§
source§impl Clone for FromSqlError
impl Clone for FromSqlError
source§fn clone(&self) -> FromSqlError
fn clone(&self) -> FromSqlError
Returns a copy of the value. Read more
1.0.0 · 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 FromSqlError
impl Debug for FromSqlError
source§impl Display for FromSqlError
impl Display for FromSqlError
source§impl Error for FromSqlError
impl Error for FromSqlError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 FromSqlError
impl PartialEq for FromSqlError
source§fn eq(&self, other: &FromSqlError) -> bool
fn eq(&self, other: &FromSqlError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FromSqlError
impl StructuralPartialEq for FromSqlError
Auto Trait Implementations§
impl RefUnwindSafe for FromSqlError
impl Send for FromSqlError
impl Sync for FromSqlError
impl Unpin for FromSqlError
impl UnwindSafe for FromSqlError
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