Searched refs:SslStream (Results 1 - 4 of 4) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
H A D | server.rs | 5 use crate::ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream}; 50 io_cb: Box<dyn FnMut(SslStream<TcpStream>) + Send>, 68 F: 'static + FnMut(SslStream<TcpStream>) + Send, in io_cb() 123 pub fn connect(self) -> SslStream<TcpStream> { in connect() 156 pub fn connect(self) -> SslStream<TcpStream> { in connect()
|
H A D | mod.rs | 33 SslOptions, SslSessionCacheMode, SslStream, SslVerifyMode, StatusType, 452 /// Tests that when the `SslStream` is created as a server stream, the protocols 1253 is_send::<SslStream<TcpStream>>(); in _check_kinds() 1254 is_sync::<SslStream<TcpStream>>(); in _check_kinds() 1344 SslStream::new(Ssl::new(&client_ctx.build()).unwrap(), MemoryStream::new()).unwrap(); 1360 SslStream::new(Ssl::new(&server_ctx.build()).unwrap(), MemoryStream::new()).unwrap();
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | connector.rs | 11 SslOptions, SslRef, SslStream, SslVerifyMode, 88 pub fn connect<S>(&self, domain: &str, stream: S) -> Result<SslStream<S>, HandshakeError<S>> in connect() 197 pub fn connect<S>(self, domain: &str, stream: S) -> Result<SslStream<S>, HandshakeError<S>> in connect() 323 pub fn accept<S>(&self, stream: S) -> Result<SslStream<S>, HandshakeError<S>> in accept()
|
H A D | mod.rs | 29 //! use openssl::ssl::{SslMethod, SslAcceptor, SslStream, SslFiletype}; 43 //! fn handle_client(stream: SslStream<TcpStream>) { 302 /// Note that `SslStream::read` and `SslStream::write` will automatically retry regardless 303 /// of the state of this option. It only affects `SslStream::ssl_read` and 304 /// `SslStream::ssl_write`. 2276 pub fn connect<S>(self, stream: S) -> Result<SslStream<S>, HandshakeError<S>> in fmt() 2295 pub fn accept<S>(self, stream: S) -> Result<SslStream<S>, HandshakeError<S>> in fmt() 3398 stream: SslStream<S>, 3438 pub fn handshake(mut self) -> Result<SslStream< 3455 pub struct SslStream<S> { global() structure names 3483 impl<S: Read + Write> SslStream<S> { fmt() impls 3735 impl<S> SslStream<S> { global() impls [all...] |
Completed in 9 milliseconds