mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-30 15:30:20 +02:00
Deploying to gh-pages from @ actix/actix-net@af00dada5c 🚀
This commit is contained in:
11
actix_tls/connect/connection/struct.Connection.html
Normal file
11
actix_tls/connect/connection/struct.Connection.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/struct.Connection.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/struct.Connection.html">../../../actix_tls/connect/struct.Connection.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/struct.Connection.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
11
actix_tls/connect/connector/struct.Connector.html
Normal file
11
actix_tls/connect/connector/struct.Connector.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/struct.Connector.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/struct.Connector.html">../../../actix_tls/connect/struct.Connector.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/struct.Connector.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
11
actix_tls/connect/connector/struct.ConnectorService.html
Normal file
11
actix_tls/connect/connector/struct.ConnectorService.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/struct.ConnectorService.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/struct.ConnectorService.html">../../../actix_tls/connect/struct.ConnectorService.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/struct.ConnectorService.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
29
actix_tls/connect/enum.ConnectError.html
Normal file
29
actix_tls/connect/enum.ConnectError.html
Normal file
File diff suppressed because one or more lines are too long
11
actix_tls/connect/error/enum.ConnectError.html
Normal file
11
actix_tls/connect/error/enum.ConnectError.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/enum.ConnectError.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/enum.ConnectError.html">../../../actix_tls/connect/enum.ConnectError.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/enum.ConnectError.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
11
actix_tls/connect/host/trait.Host.html
Normal file
11
actix_tls/connect/host/trait.Host.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/trait.Host.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/trait.Host.html">../../../actix_tls/connect/trait.Host.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/trait.Host.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
13
actix_tls/connect/index.html
Normal file
13
actix_tls/connect/index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="TCP and TLS connector services."><title>actix_tls::connect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module connect</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#stages-of-the-tcp-connector-service" title="Stages of the TCP connector service:">Stages of the TCP connector service:</a></li><li><a href="#stages-of-tls-connector-services" title="Stages of TLS connector services:">Stages of TLS connector services:</a></li></ul><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate actix_<wbr>tls</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">actix_tls</a></span><h1>Module <span>connect</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/actix_tls/connect/mod.rs.html#1-66">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>TCP and TLS connector services.</p>
|
||||
<h2 id="stages-of-the-tcp-connector-service"><a class="doc-anchor" href="#stages-of-the-tcp-connector-service">§</a>Stages of the TCP connector service:</h2>
|
||||
<ol>
|
||||
<li>Resolve <a href="trait.Host.html" title="trait actix_tls::connect::Host"><code>Host</code></a> (if needed) with given <a href="struct.Resolver.html" title="struct actix_tls::connect::Resolver"><code>Resolver</code></a> and collect list of socket addresses.</li>
|
||||
<li>Establish TCP connection and return <a href="actix_rt::net::TcpStream"><code>TcpStream</code></a>.</li>
|
||||
</ol>
|
||||
<h2 id="stages-of-tls-connector-services"><a class="doc-anchor" href="#stages-of-tls-connector-services">§</a>Stages of TLS connector services:</h2>
|
||||
<ol>
|
||||
<li>Resolve DNS and establish a <a href="actix_rt::net::TcpStream"><code>TcpStream</code></a> with the TCP connector service.</li>
|
||||
<li>Wrap the stream and perform connect handshake with remote peer.</li>
|
||||
<li>Return wrapped stream type that implements <code>AsyncRead</code> and <code>AsyncWrite</code>.</li>
|
||||
</ol>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="native_tls/index.html" title="mod actix_tls::connect::native_tls">native_<wbr>tls</a></div><div class="desc docblock-short">Native-TLS based connector service.</div></li><li><div class="item-name"><a class="mod" href="openssl/index.html" title="mod actix_tls::connect::openssl">openssl</a></div><div class="desc docblock-short">OpenSSL based connector service.</div></li><li><div class="item-name"><a class="mod" href="rustls_0_20/index.html" title="mod actix_tls::connect::rustls_0_20">rustls_<wbr>0_<wbr>20</a></div><div class="desc docblock-short">Rustls based connector service.</div></li><li><div class="item-name"><a class="mod" href="rustls_0_21/index.html" title="mod actix_tls::connect::rustls_0_21">rustls_<wbr>0_<wbr>21</a></div><div class="desc docblock-short">Rustls based connector service.</div></li><li><div class="item-name"><a class="mod" href="rustls_0_22/index.html" title="mod actix_tls::connect::rustls_0_22">rustls_<wbr>0_<wbr>22</a></div><div class="desc docblock-short">Rustls based connector service.</div></li><li><div class="item-name"><a class="mod" href="rustls_0_23/index.html" title="mod actix_tls::connect::rustls_0_23">rustls_<wbr>0_<wbr>23</a></div><div class="desc docblock-short">Rustls based connector service.</div></li><li><div class="item-name"><a class="mod" href="tcp/index.html" title="mod actix_tls::connect::tcp">tcp</a></div><div class="desc docblock-short">TCP connector service.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.ConnectInfo.html" title="struct actix_tls::connect::ConnectInfo">Connect<wbr>Info</a></div><div class="desc docblock-short">Connection request information.</div></li><li><div class="item-name"><a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a></div><div class="desc docblock-short">Wraps underlying I/O and the connection request that initiated it.</div></li><li><div class="item-name"><a class="struct" href="struct.Connector.html" title="struct actix_tls::connect::Connector">Connector</a></div><div class="desc docblock-short">Combined resolver and TCP connector service factory.</div></li><li><div class="item-name"><a class="struct" href="struct.ConnectorService.html" title="struct actix_tls::connect::ConnectorService">Connector<wbr>Service</a></div><div class="desc docblock-short">Combined resolver and TCP connector service.</div></li><li><div class="item-name"><a class="struct" href="struct.Resolver.html" title="struct actix_tls::connect::Resolver">Resolver</a></div><div class="desc docblock-short">DNS resolver service factory.</div></li><li><div class="item-name"><a class="struct" href="struct.ResolverService.html" title="struct actix_tls::connect::ResolverService">Resolver<wbr>Service</a></div><div class="desc docblock-short">DNS resolver service.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.ConnectError.html" title="enum actix_tls::connect::ConnectError">Connect<wbr>Error</a></div><div class="desc docblock-short">Errors that can result from using a connector service.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a></div><div class="desc docblock-short">An interface for types where host parts (hostname and port) can be derived.</div></li><li><div class="item-name"><a class="trait" href="trait.Resolve.html" title="trait actix_tls::connect::Resolve">Resolve</a></div><div class="desc docblock-short">Custom async DNS resolvers.</div></li></ul></section></div></main></body></html>
|
11
actix_tls/connect/info/struct.ConnectInfo.html
Normal file
11
actix_tls/connect/info/struct.ConnectInfo.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/struct.ConnectInfo.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/struct.ConnectInfo.html">../../../actix_tls/connect/struct.ConnectInfo.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/struct.ConnectInfo.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
3
actix_tls/connect/native_tls/index.html
Normal file
3
actix_tls/connect/native_tls/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Native-TLS based connector service."><title>actix_tls::connect::native_tls - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module native_<wbr>tls</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a></span><h1>Module <span>native_tls</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/native_tls.rs.html#1-90">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Native-TLS based connector service.</p>
|
||||
<p>See <a href="struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector"><code>TlsConnector</code></a> for main connector service factory docs.</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="reexports/index.html" title="mod actix_tls::connect::native_tls::reexports">reexports</a></div><div class="desc docblock-short">Re-exports from <code>native-tls</code> and <code>tokio-native-tls</code> that are useful for connectors.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">Connector service and factory using <code>native-tls</code>.</div></li></ul></section></div></main></body></html>
|
3
actix_tls/connect/native_tls/reexports/index.html
Normal file
3
actix_tls/connect/native_tls/reexports/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Re-exports from `native-tls` and `tokio-native-tls` that are useful for connectors."><title>actix_tls::connect::native_tls::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module reexports</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect::<wbr>native_<wbr>tls</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">native_tls</a></span><h1>Module <span>reexports</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/actix_tls/connect/native_tls.rs.html#19">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-exports from <code>native-tls</code> and <code>tokio-native-tls</code> that are useful for connectors.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncTlsStream.html" title="struct actix_tls::connect::native_tls::reexports::AsyncTlsStream">Async<wbr>TlsStream</a></div><div class="desc docblock-short">A wrapper around an underlying raw stream which implements the TLS or SSL
|
||||
protocol.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::reexports::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">A builder for client-side TLS connections.</div></li></ul></section></div></main></body></html>
|
1
actix_tls/connect/native_tls/reexports/sidebar-items.js
Normal file
1
actix_tls/connect/native_tls/reexports/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"struct":["AsyncTlsStream","TlsConnector"]};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
actix_tls/connect/native_tls/sidebar-items.js
Normal file
1
actix_tls/connect/native_tls/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"mod":["reexports"],"struct":["TlsConnector"]};
|
49
actix_tls/connect/native_tls/struct.TlsConnector.html
Normal file
49
actix_tls/connect/native_tls/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
3
actix_tls/connect/openssl/index.html
Normal file
3
actix_tls/connect/openssl/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="OpenSSL based connector service."><title>actix_tls::connect::openssl - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module openssl</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a></span><h1>Module <span>openssl</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/openssl.rs.html#1-151">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>OpenSSL based connector service.</p>
|
||||
<p>See <a href="struct.TlsConnector.html" title="struct actix_tls::connect::openssl::TlsConnector"><code>TlsConnector</code></a> for main connector service factory docs.</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="reexports/index.html" title="mod actix_tls::connect::openssl::reexports">reexports</a></div><div class="desc docblock-short">Re-exports from <code>openssl</code> and <code>tokio-openssl</code> that are useful for connectors.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct actix_tls::connect::openssl::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">Connector service factory using <code>openssl</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnectorService.html" title="struct actix_tls::connect::openssl::TlsConnectorService">TlsConnector<wbr>Service</a></div><div class="desc docblock-short">Connector service using <code>openssl</code>.</div></li></ul></section></div></main></body></html>
|
32
actix_tls/connect/openssl/reexports/enum.HandshakeError.html
Normal file
32
actix_tls/connect/openssl/reexports/enum.HandshakeError.html
Normal file
File diff suppressed because one or more lines are too long
2
actix_tls/connect/openssl/reexports/index.html
Normal file
2
actix_tls/connect/openssl/reexports/index.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Re-exports from `openssl` and `tokio-openssl` that are useful for connectors."><title>actix_tls::connect::openssl::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module reexports</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect::<wbr>openssl</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">openssl</a></span><h1>Module <span>reexports</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/actix_tls/connect/openssl.rs.html#22">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-exports from <code>openssl</code> and <code>tokio-openssl</code> that are useful for connectors.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncSslStream.html" title="struct actix_tls::connect::openssl::reexports::AsyncSslStream">Async<wbr>SslStream</a></div><div class="desc docblock-short">An asynchronous version of <a href="https://docs.rs/openssl/0.10/openssl/ssl/struct.SslStream.html" title="struct openssl::ssl::SslStream"><code>openssl::ssl::SslStream</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Error.html" title="struct actix_tls::connect::openssl::reexports::Error">Error</a></div><div class="desc docblock-short">An SSL error.</div></li><li><div class="item-name"><a class="struct" href="struct.SslConnector.html" title="struct actix_tls::connect::openssl::reexports::SslConnector">SslConnector</a></div><div class="desc docblock-short">A type which wraps client-side streams in a TLS session.</div></li><li><div class="item-name"><a class="struct" href="struct.SslConnectorBuilder.html" title="struct actix_tls::connect::openssl::reexports::SslConnectorBuilder">SslConnector<wbr>Builder</a></div><div class="desc docblock-short">A builder for <code>SslConnector</code>s.</div></li><li><div class="item-name"><a class="struct" href="struct.SslMethod.html" title="struct actix_tls::connect::openssl::reexports::SslMethod">SslMethod</a></div><div class="desc docblock-short">A type specifying the kind of protocol an <code>SslContext</code> will speak.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.HandshakeError.html" title="enum actix_tls::connect::openssl::reexports::HandshakeError">Handshake<wbr>Error</a></div><div class="desc docblock-short">An error or intermediate state after a TLS handshake attempt.</div></li></ul></section></div></main></body></html>
|
1
actix_tls/connect/openssl/reexports/sidebar-items.js
Normal file
1
actix_tls/connect/openssl/reexports/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"enum":["HandshakeError"],"struct":["AsyncSslStream","Error","SslConnector","SslConnectorBuilder","SslMethod"]};
|
File diff suppressed because one or more lines are too long
18
actix_tls/connect/openssl/reexports/struct.Error.html
Normal file
18
actix_tls/connect/openssl/reexports/struct.Error.html
Normal file
File diff suppressed because one or more lines are too long
35
actix_tls/connect/openssl/reexports/struct.SslConnector.html
Normal file
35
actix_tls/connect/openssl/reexports/struct.SslConnector.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
31
actix_tls/connect/openssl/reexports/struct.SslMethod.html
Normal file
31
actix_tls/connect/openssl/reexports/struct.SslMethod.html
Normal file
File diff suppressed because one or more lines are too long
1
actix_tls/connect/openssl/sidebar-items.js
Normal file
1
actix_tls/connect/openssl/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"mod":["reexports"],"struct":["TlsConnector","TlsConnectorService"]};
|
36
actix_tls/connect/openssl/struct.TlsConnector.html
Normal file
36
actix_tls/connect/openssl/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
31
actix_tls/connect/openssl/struct.TlsConnectorService.html
Normal file
31
actix_tls/connect/openssl/struct.TlsConnectorService.html
Normal file
File diff suppressed because one or more lines are too long
11
actix_tls/connect/resolve/trait.Resolve.html
Normal file
11
actix_tls/connect/resolve/trait.Resolve.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/trait.Resolve.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/trait.Resolve.html">../../../actix_tls/connect/trait.Resolve.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/trait.Resolve.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
11
actix_tls/connect/resolver/struct.Resolver.html
Normal file
11
actix_tls/connect/resolver/struct.Resolver.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/struct.Resolver.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/struct.Resolver.html">../../../actix_tls/connect/struct.Resolver.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/struct.Resolver.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
11
actix_tls/connect/resolver/struct.ResolverService.html
Normal file
11
actix_tls/connect/resolver/struct.ResolverService.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../actix_tls/connect/struct.ResolverService.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../actix_tls/connect/struct.ResolverService.html">../../../actix_tls/connect/struct.ResolverService.html</a>...</p>
|
||||
<script>location.replace("../../../actix_tls/connect/struct.ResolverService.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns root certificates via `rustls-native-certs` crate as a rustls certificate store."><title>native_roots_cert_store in actix_tls::connect::rustls_0_20 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>20</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_20</a></span><h1>Function <span class="fn">native_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_20.rs.html#40-50">source</a> </span></div><pre class="rust item-decl"><code>pub fn native_roots_cert_store() -> <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a><RootCertStore></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</p>
|
||||
<p>See <a href="rustls_native_certs_06::load_native_certs()"><code>rustls_native_certs::load_native_certs()</code></a> for more info on behavior and errors.</p>
|
||||
</div></details></section></div></main></body></html>
|
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns standard root certificates from `webpki-roots` crate as a rustls certificate store."><title>webpki_roots_cert_store in actix_tls::connect::rustls_0_20 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>20</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_20</a></span><h1>Function <span class="fn">webpki_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_20.rs.html#54-70">source</a> </span></div><pre class="rust item-decl"><code>pub fn webpki_roots_cert_store() -> RootCertStore</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</p>
|
||||
</div></details></section></div></main></body></html>
|
3
actix_tls/connect/rustls_0_20/index.html
Normal file
3
actix_tls/connect/rustls_0_20/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Rustls based connector service."><title>actix_tls::connect::rustls_0_20 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module rustls_<wbr>0_<wbr>20</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a></span><h1>Module <span>rustls_0_20</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_20.rs.html#1-179">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Rustls based connector service.</p>
|
||||
<p>See <a href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_20::TlsConnector"><code>TlsConnector</code></a> for main connector service factory docs.</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="reexports/index.html" title="mod actix_tls::connect::rustls_0_20::reexports">reexports</a></div><div class="desc docblock-short">Re-exports from the <code>rustls</code> v0.20 ecosystem that are useful for connectors.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_20::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">Connector service factory using <code>rustls</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_20::TlsConnectorService">TlsConnector<wbr>Service</a></div><div class="desc docblock-short">Connector service using <code>rustls</code>.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.native_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_20::native_roots_cert_store">native_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</div></li><li><div class="item-name"><a class="fn" href="fn.webpki_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_20::webpki_roots_cert_store">webpki_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</div></li></ul></section></div></main></body></html>
|
4
actix_tls/connect/rustls_0_20/reexports/index.html
Normal file
4
actix_tls/connect/rustls_0_20/reexports/index.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Re-exports from the `rustls` v0.20 ecosystem that are useful for connectors."><title>actix_tls::connect::rustls_0_20::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module reexports</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#statics" title="Statics">Statics</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>20</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_20</a></span><h1>Module <span>reexports</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/actix_tls/connect/rustls_0_20.rs.html#26">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-exports from the <code>rustls</code> v0.20 ecosystem that are useful for connectors.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_20::reexports::AsyncTlsStream">Async<wbr>TlsStream</a></div><div class="desc docblock-short">A wrapper around an underlying raw stream which implements the TLS or SSL
|
||||
protocol.</div></li><li><div class="item-name"><a class="struct" href="struct.ClientConfig.html" title="struct actix_tls::connect::rustls_0_20::reexports::ClientConfig">Client<wbr>Config</a></div><div class="desc docblock-short">Common configuration for (typically) all connections made by
|
||||
a program.</div></li></ul><h2 id="statics" class="section-header">Statics<a href="#statics" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="static" href="static.TLS_SERVER_ROOTS.html" title="static actix_tls::connect::rustls_0_20::reexports::TLS_SERVER_ROOTS">TLS_<wbr>SERVE<wbr>R_<wbr>ROOTS</a></div></li></ul></section></div></main></body></html>
|
1
actix_tls/connect/rustls_0_20/reexports/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_20/reexports/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"static":["TLS_SERVER_ROOTS"],"struct":["AsyncTlsStream","ClientConfig"]};
|
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TLS_SERVER_ROOTS` static in crate `actix_tls`."><title>TLS_SERVER_ROOTS in actix_tls::connect::rustls_0_20::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc static"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>20::<wbr>reexports</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_20</a>::<wbr><a href="index.html">reexports</a></span><h1>Static <span class="static">TLS_SERVER_ROOTS</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub static TLS_SERVER_ROOTS: TlsServerTrustAnchors<'static></code></pre></section></div></main></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
actix_tls/connect/rustls_0_20/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_20/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"fn":["native_roots_cert_store","webpki_roots_cert_store"],"mod":["reexports"],"struct":["TlsConnector","TlsConnectorService"]};
|
36
actix_tls/connect/rustls_0_20/struct.TlsConnector.html
Normal file
36
actix_tls/connect/rustls_0_20/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns root certificates via `rustls-native-certs` crate as a rustls certificate store."><title>native_roots_cert_store in actix_tls::connect::rustls_0_21 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>21</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_21</a></span><h1>Function <span class="fn">native_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_21.rs.html#40-50">source</a> </span></div><pre class="rust item-decl"><code>pub fn native_roots_cert_store() -> <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a><RootCertStore></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</p>
|
||||
<p>See <a href="rustls_native_certs_06::load_native_certs()"><code>rustls_native_certs::load_native_certs()</code></a> for more info on behavior and errors.</p>
|
||||
</div></details></section></div></main></body></html>
|
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns standard root certificates from `webpki-roots` crate as a rustls certificate store."><title>webpki_roots_cert_store in actix_tls::connect::rustls_0_21 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>21</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_21</a></span><h1>Function <span class="fn">webpki_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_21.rs.html#54-70">source</a> </span></div><pre class="rust item-decl"><code>pub fn webpki_roots_cert_store() -> RootCertStore</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</p>
|
||||
</div></details></section></div></main></body></html>
|
3
actix_tls/connect/rustls_0_21/index.html
Normal file
3
actix_tls/connect/rustls_0_21/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Rustls based connector service."><title>actix_tls::connect::rustls_0_21 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module rustls_<wbr>0_<wbr>21</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a></span><h1>Module <span>rustls_0_21</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_21.rs.html#1-177">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Rustls based connector service.</p>
|
||||
<p>See <a href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_21::TlsConnector"><code>TlsConnector</code></a> for main connector service factory docs.</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="reexports/index.html" title="mod actix_tls::connect::rustls_0_21::reexports">reexports</a></div><div class="desc docblock-short">Re-exports from the <code>rustls</code> v0.21 ecosystem that are useful for connectors.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_21::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">Connector service factory using <code>rustls</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_21::TlsConnectorService">TlsConnector<wbr>Service</a></div><div class="desc docblock-short">Connector service using <code>rustls</code>.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.native_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_21::native_roots_cert_store">native_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</div></li><li><div class="item-name"><a class="fn" href="fn.webpki_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_21::webpki_roots_cert_store">webpki_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</div></li></ul></section></div></main></body></html>
|
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TLS_SERVER_ROOTS` constant in crate `actix_tls`."><title>TLS_SERVER_ROOTS in actix_tls::connect::rustls_0_21::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>21::<wbr>reexports</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_21</a>::<wbr><a href="index.html">reexports</a></span><h1>Constant <span class="constant">TLS_SERVER_ROOTS</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const TLS_SERVER_ROOTS: &'static [TrustAnchor<'static>];</code></pre></section></div></main></body></html>
|
3
actix_tls/connect/rustls_0_21/reexports/index.html
Normal file
3
actix_tls/connect/rustls_0_21/reexports/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Re-exports from the `rustls` v0.21 ecosystem that are useful for connectors."><title>actix_tls::connect::rustls_0_21::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module reexports</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>21</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_21</a></span><h1>Module <span>reexports</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/actix_tls/connect/rustls_0_21.rs.html#26">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-exports from the <code>rustls</code> v0.21 ecosystem that are useful for connectors.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_21::reexports::AsyncTlsStream">Async<wbr>TlsStream</a></div><div class="desc docblock-short">A wrapper around an underlying raw stream which implements the TLS or SSL
|
||||
protocol.</div></li><li><div class="item-name"><a class="struct" href="struct.ClientConfig.html" title="struct actix_tls::connect::rustls_0_21::reexports::ClientConfig">Client<wbr>Config</a></div><div class="desc docblock-short">Common configuration for (typically) all connections made by a program.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.TLS_SERVER_ROOTS.html" title="constant actix_tls::connect::rustls_0_21::reexports::TLS_SERVER_ROOTS">TLS_<wbr>SERVE<wbr>R_<wbr>ROOTS</a></div></li></ul></section></div></main></body></html>
|
1
actix_tls/connect/rustls_0_21/reexports/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_21/reexports/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"constant":["TLS_SERVER_ROOTS"],"struct":["AsyncTlsStream","ClientConfig"]};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
actix_tls/connect/rustls_0_21/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_21/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"fn":["native_roots_cert_store","webpki_roots_cert_store"],"mod":["reexports"],"struct":["TlsConnector","TlsConnectorService"]};
|
36
actix_tls/connect/rustls_0_21/struct.TlsConnector.html
Normal file
36
actix_tls/connect/rustls_0_21/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns root certificates via `rustls-native-certs` crate as a rustls certificate store."><title>native_roots_cert_store in actix_tls::connect::rustls_0_22 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>22</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_22</a></span><h1>Function <span class="fn">native_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_22.rs.html#40-48">source</a> </span></div><pre class="rust item-decl"><code>pub fn native_roots_cert_store() -> <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a><RootCertStore></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</p>
|
||||
<p>See <a href="rustls_native_certs_07::load_native_certs()"><code>rustls_native_certs::load_native_certs()</code></a> for more info on behavior and errors.</p>
|
||||
</div></details></section></div></main></body></html>
|
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns standard root certificates from `webpki-roots` crate as a rustls certificate store."><title>webpki_roots_cert_store in actix_tls::connect::rustls_0_22 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>22</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_22</a></span><h1>Function <span class="fn">webpki_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_22.rs.html#52-56">source</a> </span></div><pre class="rust item-decl"><code>pub fn webpki_roots_cert_store() -> RootCertStore</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</p>
|
||||
</div></details></section></div></main></body></html>
|
3
actix_tls/connect/rustls_0_22/index.html
Normal file
3
actix_tls/connect/rustls_0_22/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Rustls based connector service."><title>actix_tls::connect::rustls_0_22 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module rustls_<wbr>0_<wbr>22</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a></span><h1>Module <span>rustls_0_22</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_22.rs.html#1-163">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Rustls based connector service.</p>
|
||||
<p>See <a href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_22::TlsConnector"><code>TlsConnector</code></a> for main connector service factory docs.</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="reexports/index.html" title="mod actix_tls::connect::rustls_0_22::reexports">reexports</a></div><div class="desc docblock-short">Re-exports from the <code>rustls</code> v0.22 ecosystem that are useful for connectors.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_22::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">Connector service factory using <code>rustls</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_22::TlsConnectorService">TlsConnector<wbr>Service</a></div><div class="desc docblock-short">Connector service using <code>rustls</code>.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.native_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_22::native_roots_cert_store">native_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</div></li><li><div class="item-name"><a class="fn" href="fn.webpki_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_22::webpki_roots_cert_store">webpki_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</div></li></ul></section></div></main></body></html>
|
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TLS_SERVER_ROOTS` constant in crate `actix_tls`."><title>TLS_SERVER_ROOTS in actix_tls::connect::rustls_0_22::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>22::<wbr>reexports</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_22</a>::<wbr><a href="index.html">reexports</a></span><h1>Constant <span class="constant">TLS_SERVER_ROOTS</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const TLS_SERVER_ROOTS: &'static [TrustAnchor<'static>];</code></pre></section></div></main></body></html>
|
3
actix_tls/connect/rustls_0_22/reexports/index.html
Normal file
3
actix_tls/connect/rustls_0_22/reexports/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Re-exports from the `rustls` v0.22 ecosystem that are useful for connectors."><title>actix_tls::connect::rustls_0_22::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module reexports</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>22</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_22</a></span><h1>Module <span>reexports</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/actix_tls/connect/rustls_0_22.rs.html#26">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-exports from the <code>rustls</code> v0.22 ecosystem that are useful for connectors.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_22::reexports::AsyncTlsStream">Async<wbr>TlsStream</a></div><div class="desc docblock-short">A wrapper around an underlying raw stream which implements the TLS or SSL
|
||||
protocol.</div></li><li><div class="item-name"><a class="struct" href="struct.ClientConfig.html" title="struct actix_tls::connect::rustls_0_22::reexports::ClientConfig">Client<wbr>Config</a></div><div class="desc docblock-short">Common configuration for (typically) all connections made by a program.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.TLS_SERVER_ROOTS.html" title="constant actix_tls::connect::rustls_0_22::reexports::TLS_SERVER_ROOTS">TLS_<wbr>SERVE<wbr>R_<wbr>ROOTS</a></div></li></ul></section></div></main></body></html>
|
1
actix_tls/connect/rustls_0_22/reexports/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_22/reexports/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"constant":["TLS_SERVER_ROOTS"],"struct":["AsyncTlsStream","ClientConfig"]};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
actix_tls/connect/rustls_0_22/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_22/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"fn":["native_roots_cert_store","webpki_roots_cert_store"],"mod":["reexports"],"struct":["TlsConnector","TlsConnectorService"]};
|
36
actix_tls/connect/rustls_0_22/struct.TlsConnector.html
Normal file
36
actix_tls/connect/rustls_0_22/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns root certificates via `rustls-native-certs` crate as a rustls certificate store."><title>native_roots_cert_store in actix_tls::connect::rustls_0_23 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>23</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_23</a></span><h1>Function <span class="fn">native_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_23.rs.html#40-48">source</a> </span></div><pre class="rust item-decl"><code>pub fn native_roots_cert_store() -> <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a><RootCertStore></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</p>
|
||||
<p>See <a href="rustls_native_certs_07::load_native_certs()"><code>rustls_native_certs::load_native_certs()</code></a> for more info on behavior and errors.</p>
|
||||
</div></details></section></div></main></body></html>
|
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Returns standard root certificates from `webpki-roots` crate as a rustls certificate store."><title>webpki_roots_cert_store in actix_tls::connect::rustls_0_23 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>23</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a>::<wbr><a href="index.html">rustls_0_23</a></span><h1>Function <span class="fn">webpki_roots_cert_store</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_23.rs.html#52-56">source</a> </span></div><pre class="rust item-decl"><code>pub fn webpki_roots_cert_store() -> RootCertStore</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</p>
|
||||
</div></details></section></div></main></body></html>
|
3
actix_tls/connect/rustls_0_23/index.html
Normal file
3
actix_tls/connect/rustls_0_23/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Rustls based connector service."><title>actix_tls::connect::rustls_0_23 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module rustls_<wbr>0_<wbr>23</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a></span><h1>Module <span>rustls_0_23</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/rustls_0_23.rs.html#1-163">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Rustls based connector service.</p>
|
||||
<p>See <a href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_23::TlsConnector"><code>TlsConnector</code></a> for main connector service factory docs.</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="reexports/index.html" title="mod actix_tls::connect::rustls_0_23::reexports">reexports</a></div><div class="desc docblock-short">Re-exports from the <code>rustls</code> v0.23 ecosystem that are useful for connectors.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_23::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">Connector service factory using <code>rustls</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_23::TlsConnectorService">TlsConnector<wbr>Service</a></div><div class="desc docblock-short">Connector service using <code>rustls</code>.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.native_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_23::native_roots_cert_store">native_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns root certificates via <code>rustls-native-certs</code> crate as a rustls certificate store.</div></li><li><div class="item-name"><a class="fn" href="fn.webpki_roots_cert_store.html" title="fn actix_tls::connect::rustls_0_23::webpki_roots_cert_store">webpki_<wbr>roots_<wbr>cert_<wbr>store</a></div><div class="desc docblock-short">Returns standard root certificates from <code>webpki-roots</code> crate as a rustls certificate store.</div></li></ul></section></div></main></body></html>
|
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TLS_SERVER_ROOTS` constant in crate `actix_tls`."><title>TLS_SERVER_ROOTS in actix_tls::connect::rustls_0_23::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>23::<wbr>reexports</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_23</a>::<wbr><a href="index.html">reexports</a></span><h1>Constant <span class="constant">TLS_SERVER_ROOTS</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const TLS_SERVER_ROOTS: &'static [TrustAnchor<'static>];</code></pre></section></div></main></body></html>
|
3
actix_tls/connect/rustls_0_23/reexports/index.html
Normal file
3
actix_tls/connect/rustls_0_23/reexports/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Re-exports from the `rustls` v0.23 ecosystem that are useful for connectors."><title>actix_tls::connect::rustls_0_23::reexports - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module reexports</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect::<wbr>rustls_<wbr>0_<wbr>23</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">actix_tls</a>::<wbr><a href="../../index.html">connect</a>::<wbr><a href="../index.html">rustls_0_23</a></span><h1>Module <span>reexports</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/actix_tls/connect/rustls_0_23.rs.html#26">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-exports from the <code>rustls</code> v0.23 ecosystem that are useful for connectors.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_23::reexports::AsyncTlsStream">Async<wbr>TlsStream</a></div><div class="desc docblock-short">A wrapper around an underlying raw stream which implements the TLS or SSL
|
||||
protocol.</div></li><li><div class="item-name"><a class="struct" href="struct.ClientConfig.html" title="struct actix_tls::connect::rustls_0_23::reexports::ClientConfig">Client<wbr>Config</a></div><div class="desc docblock-short">Common configuration for (typically) all connections made by a program.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.TLS_SERVER_ROOTS.html" title="constant actix_tls::connect::rustls_0_23::reexports::TLS_SERVER_ROOTS">TLS_<wbr>SERVE<wbr>R_<wbr>ROOTS</a></div></li></ul></section></div></main></body></html>
|
1
actix_tls/connect/rustls_0_23/reexports/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_23/reexports/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"constant":["TLS_SERVER_ROOTS"],"struct":["AsyncTlsStream","ClientConfig"]};
|
File diff suppressed because one or more lines are too long
137
actix_tls/connect/rustls_0_23/reexports/struct.ClientConfig.html
Normal file
137
actix_tls/connect/rustls_0_23/reexports/struct.ClientConfig.html
Normal file
File diff suppressed because one or more lines are too long
1
actix_tls/connect/rustls_0_23/sidebar-items.js
Normal file
1
actix_tls/connect/rustls_0_23/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"fn":["native_roots_cert_store","webpki_roots_cert_store"],"mod":["reexports"],"struct":["TlsConnector","TlsConnectorService"]};
|
36
actix_tls/connect/rustls_0_23/struct.TlsConnector.html
Normal file
36
actix_tls/connect/rustls_0_23/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
actix_tls/connect/sidebar-items.js
Normal file
1
actix_tls/connect/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"enum":["ConnectError"],"mod":["native_tls","openssl","rustls_0_20","rustls_0_21","rustls_0_22","rustls_0_23","tcp"],"struct":["ConnectInfo","Connection","Connector","ConnectorService","Resolver","ResolverService"],"trait":["Host","Resolve"]};
|
69
actix_tls/connect/struct.ConnectInfo.html
Normal file
69
actix_tls/connect/struct.ConnectInfo.html
Normal file
File diff suppressed because one or more lines are too long
61
actix_tls/connect/struct.Connection.html
Normal file
61
actix_tls/connect/struct.Connection.html
Normal file
File diff suppressed because one or more lines are too long
36
actix_tls/connect/struct.Connector.html
Normal file
36
actix_tls/connect/struct.Connector.html
Normal file
File diff suppressed because one or more lines are too long
31
actix_tls/connect/struct.ConnectorService.html
Normal file
31
actix_tls/connect/struct.ConnectorService.html
Normal file
File diff suppressed because one or more lines are too long
34
actix_tls/connect/struct.Resolver.html
Normal file
34
actix_tls/connect/struct.Resolver.html
Normal file
File diff suppressed because one or more lines are too long
30
actix_tls/connect/struct.ResolverService.html
Normal file
30
actix_tls/connect/struct.ResolverService.html
Normal file
File diff suppressed because one or more lines are too long
3
actix_tls/connect/tcp/index.html
Normal file
3
actix_tls/connect/tcp/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="TCP connector service."><title>actix_tls::connect::tcp - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module tcp</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../index.html">actix_tls</a>::<wbr><a href="../index.html">connect</a></span><h1>Module <span>tcp</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/actix_tls/connect/tcp.rs.html#1-204">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>TCP connector service.</p>
|
||||
<p>See <a href="struct.TcpConnector.html" title="struct actix_tls::connect::tcp::TcpConnector"><code>TcpConnector</code></a> for main connector service factory docs.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TcpConnector.html" title="struct actix_tls::connect::tcp::TcpConnector">TcpConnector</a></div><div class="desc docblock-short">TCP connector service factory.</div></li><li><div class="item-name"><a class="struct" href="struct.TcpConnectorService.html" title="struct actix_tls::connect::tcp::TcpConnectorService">TcpConnector<wbr>Service</a></div><div class="desc docblock-short">TCP connector service.</div></li></ul></section></div></main></body></html>
|
1
actix_tls/connect/tcp/sidebar-items.js
Normal file
1
actix_tls/connect/tcp/sidebar-items.js
Normal file
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"struct":["TcpConnector","TcpConnectorService"]};
|
33
actix_tls/connect/tcp/struct.TcpConnector.html
Normal file
33
actix_tls/connect/tcp/struct.TcpConnector.html
Normal file
File diff suppressed because one or more lines are too long
29
actix_tls/connect/tcp/struct.TcpConnectorService.html
Normal file
29
actix_tls/connect/tcp/struct.TcpConnectorService.html
Normal file
File diff suppressed because one or more lines are too long
17
actix_tls/connect/trait.Host.html
Normal file
17
actix_tls/connect/trait.Host.html
Normal file
File diff suppressed because one or more lines are too long
58
actix_tls/connect/trait.Resolve.html
Normal file
58
actix_tls/connect/trait.Resolve.html
Normal file
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Custom async DNS resolvers."><title>Resolve in actix_tls::connect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Resolve</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.lookup" title="lookup">lookup</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">actix_tls</a>::<wbr><a href="index.html">connect</a></span><h1>Trait <span class="trait">Resolve</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/actix_tls/connect/resolve.rs.html#55-62">source</a> </span></div><pre class="rust item-decl"><code>pub trait Resolve {
|
||||
// Required method
|
||||
fn <a href="#tymethod.lookup" class="fn">lookup</a><'a>(
|
||||
&'a self,
|
||||
host: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
port: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>,
|
||||
) -> LocalBoxFuture<'a, <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/net/socket_addr/enum.SocketAddr.html" title="enum core::net::socket_addr::SocketAddr">SocketAddr</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html" title="trait core::error::Error">StdError</a>>>>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Custom async DNS resolvers.</p>
|
||||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::net::SocketAddr;
|
||||
|
||||
<span class="kw">use </span>actix_tls::connect::{Resolve, Resolver};
|
||||
<span class="kw">use </span>futures_util::future::LocalBoxFuture;
|
||||
|
||||
<span class="comment">// use trust-dns async tokio resolver
|
||||
</span><span class="kw">use </span>trust_dns_resolver::TokioAsyncResolver;
|
||||
|
||||
<span class="kw">struct </span>MyResolver {
|
||||
trust_dns: TokioAsyncResolver,
|
||||
};
|
||||
|
||||
<span class="comment">// impl Resolve trait and convert given host address str and port to SocketAddr.
|
||||
</span><span class="kw">impl </span>Resolve <span class="kw">for </span>MyResolver {
|
||||
<span class="kw">fn </span>lookup<<span class="lifetime">'a</span>>(
|
||||
<span class="kw-2">&</span><span class="lifetime">'a </span><span class="self">self</span>,
|
||||
host: <span class="kw-2">&</span><span class="lifetime">'a </span>str,
|
||||
port: u16,
|
||||
) -> LocalBoxFuture<<span class="lifetime">'a</span>, <span class="prelude-ty">Result</span><Vec<SocketAddr>, Box<<span class="kw">dyn </span>std::error::Error>>> {
|
||||
Box::pin(<span class="kw">async move </span>{
|
||||
<span class="kw">let </span>res = <span class="self">self
|
||||
</span>.trust_dns
|
||||
.lookup_ip(host)
|
||||
.<span class="kw">await</span><span class="question-mark">?
|
||||
</span>.iter()
|
||||
.map(|ip| SocketAddr::new(ip, port))
|
||||
.collect();
|
||||
<span class="prelude-val">Ok</span>(res)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">let </span>my_resolver = MyResolver {
|
||||
trust_dns: TokioAsyncResolver::tokio_from_system_conf().unwrap(),
|
||||
};
|
||||
|
||||
<span class="comment">// wrap custom resolver
|
||||
</span><span class="kw">let </span>resolver = Resolver::custom(my_resolver);
|
||||
|
||||
<span class="comment">// resolver can be passed to connector factory where returned service factory
|
||||
// can be used to construct new connector services for use in clients
|
||||
</span><span class="kw">let </span>factory = actix_tls::connect::Connector::new(resolver);
|
||||
<span class="kw">let </span>connector = factory.service();</code></pre></div>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.lookup" class="method"><a class="src rightside" href="../../src/actix_tls/connect/resolve.rs.html#57-61">source</a><h4 class="code-header">fn <a href="#tymethod.lookup" class="fn">lookup</a><'a>(
|
||||
&'a self,
|
||||
host: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
port: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>,
|
||||
) -> LocalBoxFuture<'a, <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/net/socket_addr/enum.SocketAddr.html" title="enum core::net::socket_addr::SocketAddr">SocketAddr</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html" title="trait core::error::Error">StdError</a>>>></h4></section></summary><div class="docblock"><p>Given DNS lookup information, returns a future that completes with socket information.</p>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/actix_tls/connect/resolve/trait.Resolve.js" async></script></section></div></main></body></html>
|
Reference in New Issue
Block a user