pub enum ClientTlsError<ProviderError> {
Provider(ProviderError),
Handshake(Error),
}Expand description
Failure while resolving or establishing client TLS.
Variants§
Provider(ProviderError)
The application-owned reloadable provider failed.
Handshake(Error)
PostgreSQL negotiation or the TLS handshake failed.
Trait Implementations§
Source§impl<ProviderError: Debug> Debug for ClientTlsError<ProviderError>
impl<ProviderError: Debug> Debug for ClientTlsError<ProviderError>
Source§impl<ProviderError: Display> Display for ClientTlsError<ProviderError>
impl<ProviderError: Display> Display for ClientTlsError<ProviderError>
Source§impl<ProviderError: Error + 'static> Error for ClientTlsError<ProviderError>
impl<ProviderError: Error + 'static> Error for ClientTlsError<ProviderError>
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()
Auto Trait Implementations§
impl<ProviderError> !RefUnwindSafe for ClientTlsError<ProviderError>
impl<ProviderError> !UnwindSafe for ClientTlsError<ProviderError>
impl<ProviderError> Freeze for ClientTlsError<ProviderError>where
ProviderError: Freeze,
impl<ProviderError> Send for ClientTlsError<ProviderError>where
ProviderError: Send,
impl<ProviderError> Sync for ClientTlsError<ProviderError>where
ProviderError: Sync,
impl<ProviderError> Unpin for ClientTlsError<ProviderError>where
ProviderError: Unpin,
impl<ProviderError> UnsafeUnpin for ClientTlsError<ProviderError>where
ProviderError: UnsafeUnpin,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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