• Home
  • Raw
  • Download

Lines Matching +full:rustls +full:- +full:version

38     /// Input-output error. Apart from WouldBlock, these are generally errors with the
45 /// to provide a feature-agnostic API surface.
48 /// - When reading: buffer capacity exhausted.
49 /// - When writing: your message is bigger than the configured max message size
60 #[error("UTF-8 encoding error")]
79 fn from(_: str::Utf8Error) -> Self { in from()
85 fn from(_: string::FromUtf8Error) -> Self { in from()
92 fn from(err: http::header::InvalidHeaderValue) -> Self { in from()
99 fn from(err: http::header::InvalidHeaderName) -> Self { in from()
106 fn from(_: http::header::ToStrError) -> Self { in from()
113 fn from(err: http::uri::InvalidUri) -> Self { in from()
120 fn from(err: http::status::InvalidStatusCode) -> Self { in from()
127 fn from(err: httparse::Error) -> Self { in from()
157 #[error("Unsupported HTTP method used - only GET is allowed")]
159 /// Wrong HTTP version used (the WebSocket protocol requires version 1.1 or higher).
160 #[error("HTTP version must be 1.1 or higher")]
168 /// Missing `Sec-WebSocket-Version: 13` HTTP header.
169 #[error("No \"Sec-WebSocket-Version: 13\" header")]
171 /// Missing `Sec-WebSocket-Key` HTTP header.
172 #[error("No \"Sec-WebSocket-Key\" header")]
174 …/// The `Sec-WebSocket-Accept` header is either not present or does not specify the correct key va…
175 #[error("Key mismatch in \"Sec-WebSocket-Accept\" header")]
200 /// Reserved bits in frame header are non-zero.
201 #[error("Reserved bits are non-zero")]
263 /// Note that even if you enable only the rustls-based TLS support, the error at runtime could still
270 #[cfg(feature = "native-tls")]
271 #[error("native-tls error: {0}")]
273 /// Rustls error.
274 #[cfg(feature = "__rustls-tls")]
275 #[error("rustls error: {0}")]
276 Rustls(#[from] rustls::Error), enumerator
278 #[cfg(feature = "__rustls-tls")]