pub struct CleartextConnectError(/* private fields */);Expand description
A newtype wrapping the io::Error, as it occurs when attempting to
establish an HTTP/2 connection over cleartext TCP (with prior knowledge).
Trait Implementations§
Source§impl Debug for CleartextConnectError
impl Debug for CleartextConnectError
Source§impl Display for CleartextConnectError
impl Display for CleartextConnectError
Source§impl Error for CleartextConnectError
impl Error for CleartextConnectError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<Error> for CleartextConnectError
For convenience we make sure that io::Errors are easily convertible to
the CleartextConnectError, if needed.
impl From<Error> for CleartextConnectError
For convenience we make sure that io::Errors are easily convertible to
the CleartextConnectError, if needed.
Source§fn from(e: Error) -> CleartextConnectError
fn from(e: Error) -> CleartextConnectError
Converts to this type from the input type.
impl HttpConnectError for CleartextConnectError
The error is marked as an HttpConnectError
Auto Trait Implementations§
impl Freeze for CleartextConnectError
impl !RefUnwindSafe for CleartextConnectError
impl Send for CleartextConnectError
impl Sync for CleartextConnectError
impl Unpin for CleartextConnectError
impl !UnwindSafe for CleartextConnectError
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