[−][src]Enum solicit::http::client::tls::TlsConnectError
An enum representing possible errors that can arise when trying to establish an HTTP/2 connection over TLS.
Variants
IoError(Error)
The variant corresponds to the underlying raw TCP connection returning an error.
SslError(SslError)
The variant corresponds to the TLS negotiation returning an error.
The variant corresponds to the case when the TLS connection is established, but the application protocol that was negotiated didn't end up being HTTP/2. It wraps the established SSL stream in order to allow the client to decide what to do with it (and the application protocol that was chosen).
Trait Implementations
impl Debug for TlsConnectError
[src]
impl Display for TlsConnectError
[src]
impl Error for TlsConnectError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<Error> for TlsConnectError
[src]
fn from(err: Error) -> TlsConnectError
[src]
impl From<SslError> for TlsConnectError
[src]
fn from(err: SslError) -> TlsConnectError
[src]
impl HttpConnectError for TlsConnectError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TlsConnectError
impl Send for TlsConnectError
impl Sync for TlsConnectError
impl Unpin for TlsConnectError
impl !UnwindSafe for TlsConnectError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,