Searched defs:SslError (Results 1 – 3 of 3) sorted by relevance
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
| D | error.rs | 24 pub(crate) struct SslError { struct 25 pub(crate) code: SslErrorCode, argument 35 impl SslError { argument 40 pub(crate) fn into_io_error(self) -> Result<io::Error, SslError> { in into_io_error() argument 55 impl Error for SslError { implementation 65 impl fmt::Display for SslError { implementation
|
| D | stream.rs | 37 pub(crate) fn get_error(&mut self, err: c_int) -> SslError { in get_error() 109 pub(crate) fn ssl_read(&mut self, buf: &mut [u8]) -> Result<usize, SslError> { in ssl_read() argument 121 pub(crate) fn ssl_write(&mut self, buf: &[u8]) -> Result<usize, SslError> { in ssl_write() argument 146 pub(crate) fn connect(&mut self) -> Result<(), SslError> { in connect() argument 155 pub(crate) fn shutdown(&mut self) -> Result<ShutdownResult, SslError> { in shutdown() argument 225 pub(crate) fn error(&self) -> &SslError { in error()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/ |
| D | c_ssl_stream.rs | 69 fn poll_connect(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), ssl::SslError>> { in poll_connect() 74 pub(crate) async fn connect(mut self: Pin<&mut Self>) -> Result<(), ssl::SslError> { in connect() 154 fn check_result_to_poll<T>(r: Result<T, ssl::SslError>) -> Poll<Result<T, ssl::SslError>> { in check_result_to_poll()
|