Benign cargo Download

rustls.rs

imports rustls::ClientSessionimports rustls::ServerConfig
SHA-25662f8af1ce871fd91c99344890be498fc0899b7b5548875a09ff1cf4e6804b7be
MaleculeMd(In₄)

Evidence

imports rustls::ClientSession lines 1–14
1use std::net::Shutdown;
2use std::sync::Arc;
3use std::{io, time};
4
5use rustls::{ClientSession, ServerConfig, ServerSession};
6use tokio_io::AsyncWrite;
7use tokio_rustls::{AcceptAsync, ServerConfigExt, TlsStream};
8
9use server::{AcceptorService, IoStream, ServerFlags};
10
11#[derive(Clone)]
12/// Support `SSL` connections via rustls package
13///
14/// `rust-tls` feature en …
English function-word token "and" lines 19–22
19:9… tlsAcceptor {
20 /// Create `OpensslAcceptor` with enabled `HTTP/2` and `HTTP1.1` support.
21 pub fn new(config: ServerConfig) -> Self {
22 RustlsAcceptor::wit …
English function-word token "for" lines 41–46
41:4… }
42}
43
44impl<Io: IoStream> AcceptorService<Io> for RustlsAcceptor {
45 type Accepted = TlsStream<Io, ServerSession>;
46 type Future = AcceptAs …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.