Struct diesel::pg::FailedToLookupTypeError
source · pub struct FailedToLookupTypeError(/* private fields */);
Expand description
This error indicates that a type lookup for a custom postgres type failed
Implementations§
source§impl FailedToLookupTypeError
impl FailedToLookupTypeError
sourcepub fn new(cache_key: PgMetadataCacheKey<'static>) -> Self
pub fn new(cache_key: PgMetadataCacheKey<'static>) -> Self
Construct a new instance of this error type containing information about which type lookup failed
Trait Implementations§
source§impl Clone for FailedToLookupTypeError
impl Clone for FailedToLookupTypeError
source§fn clone(&self) -> FailedToLookupTypeError
fn clone(&self) -> FailedToLookupTypeError
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 FailedToLookupTypeError
impl Debug for FailedToLookupTypeError
source§impl Display for FailedToLookupTypeError
impl Display for FailedToLookupTypeError
source§impl Error for FailedToLookupTypeError
impl Error for FailedToLookupTypeError
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 Hash for FailedToLookupTypeError
impl Hash for FailedToLookupTypeError
source§impl PartialEq for FailedToLookupTypeError
impl PartialEq for FailedToLookupTypeError
source§fn eq(&self, other: &FailedToLookupTypeError) -> bool
fn eq(&self, other: &FailedToLookupTypeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FailedToLookupTypeError
impl StructuralPartialEq for FailedToLookupTypeError
Auto Trait Implementations§
impl Freeze for FailedToLookupTypeError
impl RefUnwindSafe for FailedToLookupTypeError
impl Send for FailedToLookupTypeError
impl Sync for FailedToLookupTypeError
impl Unpin for FailedToLookupTypeError
impl UnwindSafe for FailedToLookupTypeError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)