Adding large folders

This commit is contained in:
2026-02-26 12:00:21 -05:00
parent 5400d82acd
commit 49701c85ad
47332 changed files with 1942573 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../hyper_util/client/legacy/connect/fn.capture_connection.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../hyper_util/client/legacy/connect/fn.capture_connection.html">../../../../../hyper_util/client/legacy/connect/fn.capture_connection.html</a>...</p>
<script>location.replace("../../../../../hyper_util/client/legacy/connect/fn.capture_connection.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../hyper_util/client/legacy/connect/struct.CaptureConnection.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../hyper_util/client/legacy/connect/struct.CaptureConnection.html">../../../../../hyper_util/client/legacy/connect/struct.CaptureConnection.html</a>...</p>
<script>location.replace("../../../../../hyper_util/client/legacy/connect/struct.CaptureConnection.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<!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="DNS Resolution used by the `HttpConnector`."><title>hyper_util::client::legacy::connect::dns - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="hyper_util" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></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]--><rustdoc-topbar><h2><a href="#">Module dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../hyper_util/index.html">hyper_<wbr>util</a><span class="version">0.1.20</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#resolvers-are-services" title="Resolvers are `Service`s">Resolvers are <code>Service</code>s</a></li></ul><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 hyper_<wbr>util::<wbr>client::<wbr>legacy::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">hyper_util</a>::<wbr><a href="../../../index.html">client</a>::<wbr><a href="../../index.html">legacy</a>::<wbr><a href="../index.html">connect</a></div><h1>Module <span>dns</span>&nbsp;<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/hyper_util/client/legacy/connect/dns.rs.html#1-360">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS Resolution used by the <code>HttpConnector</code>.</p>
<p>This module contains:</p>
<ul>
<li>A <a href="struct.GaiResolver.html" title="struct hyper_util::client::legacy::connect::dns::GaiResolver"><code>GaiResolver</code></a> that is the default resolver for the <code>HttpConnector</code>.</li>
<li>The <code>Name</code> type used as an argument to custom resolvers.</li>
</ul>
<h2 id="resolvers-are-services"><a class="doc-anchor" href="#resolvers-are-services">§</a>Resolvers are <code>Service</code>s</h2>
<p>A resolver is just a
<code>Service&lt;Name, Response = impl Iterator&lt;Item = SocketAddr&gt;&gt;</code>.</p>
<p>A simple resolver that ignores the name and always returns a specific
address:</p>
<div class="example-wrap ignore"><a href="#" class="tooltip" title="This example is not tested"></a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::{convert::Infallible, iter, net::SocketAddr};
<span class="kw">let </span>resolver = tower::service_fn(|_name| <span class="kw">async </span>{
<span class="prelude-val">Ok</span>::&lt;<span class="kw">_</span>, Infallible&gt;(iter::once(SocketAddr::from(([<span class="number">127</span>, <span class="number">0</span>, <span class="number">0</span>, <span class="number">1</span>], <span class="number">8080</span>))))
});</code></pre></div></div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.GaiAddrs.html" title="struct hyper_util::client::legacy::connect::dns::GaiAddrs">GaiAddrs</a></dt><dd>An iterator of IP addresses returned from <code>getaddrinfo</code>.</dd><dt><a class="struct" href="struct.GaiFuture.html" title="struct hyper_util::client::legacy::connect::dns::GaiFuture">GaiFuture</a></dt><dd>A future to resolve a name returned by <code>GaiResolver</code>.</dd><dt><a class="struct" href="struct.GaiResolver.html" title="struct hyper_util::client::legacy::connect::dns::GaiResolver">GaiResolver</a></dt><dd>A resolver using blocking <code>getaddrinfo</code> calls in a threadpool.</dd><dt><a class="struct" href="struct.InvalidNameError.html" title="struct hyper_util::client::legacy::connect::dns::InvalidNameError">Invalid<wbr>Name<wbr>Error</a></dt><dd>Error indicating a given string was not a valid domain name.</dd><dt><a class="struct" href="struct.Name.html" title="struct hyper_util::client::legacy::connect::dns::Name">Name</a></dt><dd>A domain name to resolve into IP addresses.</dd></dl></section></div></main></body></html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["GaiAddrs","GaiFuture","GaiResolver","InvalidNameError","Name"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,43 @@
<!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="Capture the connection for a given request"><title>capture_connection in hyper_util::client::legacy::connect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="hyper_util" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></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]--><rustdoc-topbar><h2><a href="#">capture_connection</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../hyper_util/index.html">hyper_<wbr>util</a><span class="version">0.1.20</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">capture_<wbr>connection</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In hyper_<wbr>util::<wbr>client::<wbr>legacy::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">hyper_util</a>::<wbr><a href="../../index.html">client</a>::<wbr><a href="../index.html">legacy</a>::<wbr><a href="index.html">connect</a></div><h1>Function <span class="fn">capture_<wbr>connection</span>&nbsp;<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/hyper_util/client/legacy/connect/capture.rs.html#72-76">Source</a> </span></div><pre class="rust item-decl"><code>pub fn capture_connection&lt;B&gt;(request: &amp;mut <a class="struct" href="../../../../http/request/struct.Request.html" title="struct http::request::Request">Request</a>&lt;B&gt;) -&gt; <a class="struct" href="struct.CaptureConnection.html" title="struct hyper_util::client::legacy::connect::CaptureConnection">CaptureConnection</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Capture the connection for a given request</p>
<p>When making a request with Hyper, the underlying connection must implement the <a href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection"><code>Connection</code></a> trait.
<a href="fn.capture_connection.html" title="fn hyper_util::client::legacy::connect::capture_connection"><code>capture_connection</code></a> allows a caller to capture the returned <a href="struct.Connected.html" title="struct hyper_util::client::legacy::connect::Connected"><code>Connected</code></a> structure as soon
as the connection is established.</p>
<p><em>Note</em>: If establishing a connection fails, <a href="struct.CaptureConnection.html#method.connection_metadata" title="method hyper_util::client::legacy::connect::CaptureConnection::connection_metadata"><code>CaptureConnection::connection_metadata</code></a> will always return none.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p><strong>Synchronous access</strong>:
The <a href="struct.CaptureConnection.html#method.connection_metadata" title="method hyper_util::client::legacy::connect::CaptureConnection::connection_metadata"><code>CaptureConnection::connection_metadata</code></a> method allows callers to check if a connection has been
established. This is ideal for situations where you are certain the connection has already
been established (e.g. after the response future has already completed).</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>hyper_util::client::legacy::connect::capture_connection;
<span class="kw">let </span><span class="kw-2">mut </span>request = http::Request::builder()
.uri(<span class="string">"http://foo.com"</span>)
.body(())
.unwrap();
<span class="kw">let </span>captured_connection = capture_connection(<span class="kw-2">&amp;mut </span>request);
<span class="comment">// some time later after the request has been sent...
</span><span class="kw">let </span>connection_info = captured_connection.connection_metadata();
<span class="macro">println!</span>(<span class="string">"we are connected! {:?}"</span>, connection_info.as_ref());</code></pre></div>
<p><strong>Asynchronous access</strong>:
The <a href="struct.CaptureConnection.html#method.wait_for_connection_metadata" title="method hyper_util::client::legacy::connect::CaptureConnection::wait_for_connection_metadata"><code>CaptureConnection::wait_for_connection_metadata</code></a> method returns a future resolves as soon as the
connection is available.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>hyper_util::client::legacy::connect::capture_connection;
<span class="kw">use </span>hyper_util::client::legacy::Client;
<span class="kw">use </span>hyper_util::rt::TokioExecutor;
<span class="kw">use </span>bytes::Bytes;
<span class="kw">use </span>http_body_util::Empty;
<span class="kw">let </span><span class="kw-2">mut </span>request = http::Request::builder()
.uri(<span class="string">"http://foo.com"</span>)
.body(Empty::&lt;Bytes&gt;::new())
.unwrap();
<span class="kw">let </span><span class="kw-2">mut </span>captured = capture_connection(<span class="kw-2">&amp;mut </span>request);
tokio::task::spawn(<span class="kw">async move </span>{
<span class="kw">let </span>connection_info = captured.wait_for_connection_metadata().<span class="kw">await</span>;
<span class="macro">println!</span>(<span class="string">"we are connected! {:?}"</span>, connection_info.as_ref());
});
<span class="kw">let </span>client = Client::builder(TokioExecutor::new()).build_http();
client.request(request).<span class="kw">await</span>.expect(<span class="string">"request failed"</span>);</code></pre></div></div></details></section></div></main></body></html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../hyper_util/client/legacy/connect/struct.HttpConnector.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../hyper_util/client/legacy/connect/struct.HttpConnector.html">../../../../../hyper_util/client/legacy/connect/struct.HttpConnector.html</a>...</p>
<script>location.replace("../../../../../hyper_util/client/legacy/connect/struct.HttpConnector.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../hyper_util/client/legacy/connect/struct.HttpInfo.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../hyper_util/client/legacy/connect/struct.HttpInfo.html">../../../../../hyper_util/client/legacy/connect/struct.HttpInfo.html</a>...</p>
<script>location.replace("../../../../../hyper_util/client/legacy/connect/struct.HttpInfo.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,48 @@
<!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="Connectors used by the `Client`."><title>hyper_util::client::legacy::connect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="hyper_util" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></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]--><rustdoc-topbar><h2><a href="#">Module connect</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../hyper_util/index.html">hyper_<wbr>util</a><span class="version">0.1.20</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="#connectors" title="Connectors">Connectors</a><ul><li><a href="#custom-connectors" title="Custom Connectors">Custom Connectors</a></li></ul></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="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In hyper_<wbr>util::<wbr>client::<wbr>legacy</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">hyper_util</a>::<wbr><a href="../../index.html">client</a>::<wbr><a href="../index.html">legacy</a></div><h1>Module <span>connect</span>&nbsp;<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/hyper_util/client/legacy/connect/mod.rs.html#1-444">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Connectors used by the <code>Client</code>.</p>
<p>This module contains:</p>
<ul>
<li>A default <a href="struct.HttpConnector.html" title="struct hyper_util::client::legacy::connect::HttpConnector"><code>HttpConnector</code></a> that does DNS resolution and establishes
connections over TCP.</li>
<li>Types to build custom connectors.</li>
</ul>
<h2 id="connectors"><a class="doc-anchor" href="#connectors">§</a>Connectors</h2>
<p>A “connector” is a <a href="../../../../tower_service/trait.Service.html" title="trait tower_service::Service"><code>Service</code></a> that takes a <a href="../../../../http/uri/struct.Uri.html" title="struct http::uri::Uri"><code>Uri</code></a> destination, and
its <code>Response</code> is some type implementing <a href="../../../../hyper/rt/io/trait.Read.html" title="trait hyper::rt::io::Read"><code>Read</code></a>, <a href="../../../../hyper/rt/io/trait.Write.html" title="trait hyper::rt::io::Write"><code>Write</code></a>,
and <a href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection"><code>Connection</code></a>.</p>
<h3 id="custom-connectors"><a class="doc-anchor" href="#custom-connectors">§</a>Custom Connectors</h3>
<p>A simple connector that ignores the <code>Uri</code> destination and always returns
a TCP connection to the same address could be written like this:</p>
<div class="example-wrap ignore"><a href="#" class="tooltip" title="This example is not tested"></a><pre class="rust rust-example-rendered"><code><span class="kw">let </span>connector = tower::service_fn(|_dst| <span class="kw">async </span>{
tokio::net::TcpStream::connect(<span class="string">"127.0.0.1:1337"</span>)
})</code></pre></div>
<p>Or, fully written out:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::{future::Future, net::SocketAddr, pin::Pin, task::{<span class="self">self</span>, Poll}};
<span class="kw">use </span>http::Uri;
<span class="kw">use </span>tokio::net::TcpStream;
<span class="kw">use </span>tower_service::Service;
<span class="attr">#[derive(Clone)]
</span><span class="kw">struct </span>LocalConnector;
<span class="kw">impl </span>Service&lt;Uri&gt; <span class="kw">for </span>LocalConnector {
<span class="kw">type </span>Response = TcpStream;
<span class="kw">type </span>Error = std::io::Error;
<span class="comment">// We can't "name" an `async` generated future.
</span><span class="kw">type </span>Future = Pin&lt;Box&lt;
<span class="kw">dyn </span>Future&lt;Output = <span class="prelude-ty">Result</span>&lt;<span class="self">Self</span>::Response, <span class="self">Self</span>::Error&gt;&gt; + Send
&gt;&gt;;
<span class="kw">fn </span>poll_ready(<span class="kw-2">&amp;mut </span><span class="self">self</span>, <span class="kw">_</span>: <span class="kw-2">&amp;mut </span>task::Context&lt;<span class="lifetime">'_</span>&gt;) -&gt; Poll&lt;<span class="prelude-ty">Result</span>&lt;(), <span class="self">Self</span>::Error&gt;&gt; {
<span class="comment">// This connector is always ready, but others might not be.
</span>Poll::Ready(<span class="prelude-val">Ok</span>(()))
}
<span class="kw">fn </span>call(<span class="kw-2">&amp;mut </span><span class="self">self</span>, <span class="kw">_</span>: Uri) -&gt; <span class="self">Self</span>::Future {
Box::pin(TcpStream::connect(SocketAddr::from(([<span class="number">127</span>, <span class="number">0</span>, <span class="number">0</span>, <span class="number">1</span>], <span class="number">1337</span>))))
}
}</code></pre></div>
<p>Its worth noting that for <code>TcpStream</code>s, the <a href="struct.HttpConnector.html" title="struct hyper_util::client::legacy::connect::HttpConnector"><code>HttpConnector</code></a> is a
better starting place to extend from.</p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="dns/index.html" title="mod hyper_util::client::legacy::connect::dns">dns</a></dt><dd>DNS Resolution used by the <code>HttpConnector</code>.</dd><dt><a class="mod" href="proxy/index.html" title="mod hyper_util::client::legacy::connect::proxy">proxy</a></dt><dd>Proxy helpers</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.CaptureConnection.html" title="struct hyper_util::client::legacy::connect::CaptureConnection">Capture<wbr>Connection</a></dt><dd><a href="struct.CaptureConnection.html" title="struct hyper_util::client::legacy::connect::CaptureConnection"><code>CaptureConnection</code></a> allows callers to capture <a href="struct.Connected.html" title="struct hyper_util::client::legacy::connect::Connected"><code>Connected</code></a> information</dd><dt><a class="struct" href="struct.Connected.html" title="struct hyper_util::client::legacy::connect::Connected">Connected</a></dt><dd>Extra information about the connected transport.</dd><dt><a class="struct" href="struct.HttpConnector.html" title="struct hyper_util::client::legacy::connect::HttpConnector">Http<wbr>Connector</a></dt><dd>A connector for the <code>http</code> scheme.</dd><dt><a class="struct" href="struct.HttpInfo.html" title="struct hyper_util::client::legacy::connect::HttpInfo">Http<wbr>Info</a></dt><dd>Extra information about the transport when an HttpConnector is used.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Connect.html" title="trait hyper_util::client::legacy::connect::Connect">Connect</a></dt><dd>Connect to a destination, returning an IO transport.</dd><dt><a class="trait" href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection">Connection</a></dt><dd>Describes a type returned by a connector.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.capture_connection.html" title="fn hyper_util::client::legacy::connect::capture_connection">capture_<wbr>connection</a></dt><dd>Capture the connection for a given request</dd></dl></section></div></main></body></html>

View 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="Proxy helpers"><title>hyper_util::client::legacy::connect::proxy - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="hyper_util" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></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]--><rustdoc-topbar><h2><a href="#">Module proxy</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../hyper_util/index.html">hyper_<wbr>util</a><span class="version">0.1.20</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module proxy</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 hyper_<wbr>util::<wbr>client::<wbr>legacy::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">hyper_util</a>::<wbr><a href="../../../index.html">client</a>::<wbr><a href="../../index.html">legacy</a>::<wbr><a href="../index.html">connect</a></div><h1>Module <span>proxy</span>&nbsp;<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/hyper_util/client/legacy/connect/proxy/mod.rs.html#1-6">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Proxy helpers</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.SocksV4.html" title="struct hyper_util::client::legacy::connect::proxy::SocksV4">SocksV4</a></dt><dd>Tunnel Proxy via SOCKSv4</dd><dt><a class="struct" href="struct.SocksV5.html" title="struct hyper_util::client::legacy::connect::proxy::SocksV5">SocksV5</a></dt><dd>Tunnel Proxy via SOCKSv5</dd><dt><a class="struct" href="struct.Tunnel.html" title="struct hyper_util::client::legacy::connect::proxy::Tunnel">Tunnel</a></dt><dd>Tunnel Proxy via HTTP CONNECT</dd></dl></section></div></main></body></html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["SocksV4","SocksV5","Tunnel"]};

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV4.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV4.html">../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV4.html</a>...</p>
<script>location.replace("../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV4.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV5.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV5.html">../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV5.html</a>...</p>
<script>location.replace("../../../../../../../hyper_util/client/legacy/connect/proxy/struct.SocksV5.html" + location.search + location.hash);</script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../hyper_util/client/legacy/connect/proxy/struct.Tunnel.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../hyper_util/client/legacy/connect/proxy/struct.Tunnel.html">../../../../../../hyper_util/client/legacy/connect/proxy/struct.Tunnel.html</a>...</p>
<script>location.replace("../../../../../../hyper_util/client/legacy/connect/proxy/struct.Tunnel.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../hyper_util/client/legacy/connect/trait.Connect.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../hyper_util/client/legacy/connect/trait.Connect.html">../../../../../hyper_util/client/legacy/connect/trait.Connect.html</a>...</p>
<script>location.replace("../../../../../hyper_util/client/legacy/connect/trait.Connect.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"fn":["capture_connection"],"mod":["dns","proxy"],"struct":["CaptureConnection","Connected","HttpConnector","HttpInfo"],"trait":["Connect","Connection"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
<!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="Connect to a destination, returning an IO transport."><title>Connect in hyper_util::client::legacy::connect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="hyper_util" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></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]--><rustdoc-topbar><h2><a href="#">Connect</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../hyper_util/index.html">hyper_<wbr>util</a><span class="version">0.1.20</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Connect</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#trait-alias" title="Trait Alias">Trait Alias</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In hyper_<wbr>util::<wbr>client::<wbr>legacy::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">hyper_util</a>::<wbr><a href="../../index.html">client</a>::<wbr><a href="../index.html">legacy</a>::<wbr><a href="index.html">connect</a></div><h1>Trait <span class="trait">Connect</span>&nbsp;<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/hyper_util/client/legacy/connect/mod.rs.html#324-329">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Connect: Sealed + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> { }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Connect to a destination, returning an IO transport.</p>
<p>A connector receives a <a href="../../../../http/uri/struct.Uri.html" title="struct http::uri::Uri"><code>Uri</code></a> and returns a <code>Future</code> of the
ready connection.</p>
<h2 id="trait-alias"><a class="doc-anchor" href="#trait-alias">§</a>Trait Alias</h2>
<p>This is really just an <em>alias</em> for the <code>tower::Service</code> trait, with
additional bounds set for convenience <em>inside</em> hyper. You dont actually
implement this trait, but <code>tower::Service&lt;Uri&gt;</code> instead.</p>
</div></details><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.93.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Connect-for-S" class="impl"><a class="src rightside" href="../../../../src/hyper_util/client/legacy/connect/mod.rs.html#339-351">Source</a><a href="#impl-Connect-for-S" class="anchor">§</a><h3 class="code-header">impl&lt;S, T&gt; <a class="trait" href="trait.Connect.html" title="trait hyper_util::client::legacy::connect::Connect">Connect</a> for S<div class="where">where
S: <a class="trait" href="../../../../tower_service/trait.Service.html" title="trait tower_service::Service">Service</a>&lt;<a class="struct" href="../../../../http/uri/struct.Uri.html" title="struct http::uri::Uri">Uri</a>, Response = T&gt; + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,
S::<a class="associatedtype" href="../../../../tower_service/trait.Service.html#associatedtype.Error" title="type tower_service::Service::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/error/trait.Error.html" title="trait core::error::Error">StdError</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;&gt;,
S::<a class="associatedtype" href="../../../../tower_service/trait.Service.html#associatedtype.Future" title="type tower_service::Service::Future">Future</a>: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
T: <a class="trait" href="../../../../hyper/rt/io/trait.Read.html" title="trait hyper::rt::io::Read">Read</a> + <a class="trait" href="../../../../hyper/rt/io/trait.Write.html" title="trait hyper::rt::io::Write">Write</a> + <a class="trait" href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection">Connection</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,</div></h3></section></div><script src="../../../../trait.impl/hyper_util/client/legacy/connect/sealed/trait.Connect.js" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,7 @@
<!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="Describes a type returned by a connector."><title>Connection in hyper_util::client::legacy::connect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="hyper_util" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></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]--><rustdoc-topbar><h2><a href="#">Connection</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../hyper_util/index.html">hyper_<wbr>util</a><span class="version">0.1.20</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Connection</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.connected" title="connected">connected</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Connection-for-TcpStream" title="TcpStream">TcpStream</a></li><li><a href="#impl-Connection-for-UnixStream" title="UnixStream">UnixStream</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In hyper_<wbr>util::<wbr>client::<wbr>legacy::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">hyper_util</a>::<wbr><a href="../../index.html">client</a>::<wbr><a href="../index.html">legacy</a>::<wbr><a href="index.html">connect</a></div><h1>Trait <span class="trait">Connection</span>&nbsp;<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/hyper_util/client/legacy/connect/mod.rs.html#91-94">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Connection {
// Required method
fn <a href="#tymethod.connected" class="fn">connected</a>(&amp;self) -&gt; <a class="struct" href="struct.Connected.html" title="struct hyper_util::client::legacy::connect::Connected">Connected</a>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Describes a type returned by a connector.</p>
</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.connected" class="method"><a class="src rightside" href="../../../../src/hyper_util/client/legacy/connect/mod.rs.html#93">Source</a><h4 class="code-header">fn <a href="#tymethod.connected" class="fn">connected</a>(&amp;self) -&gt; <a class="struct" href="struct.Connected.html" title="struct hyper_util::client::legacy::connect::Connected">Connected</a></h4></section></summary><div class="docblock"><p>Return metadata describing the connection.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-Connection-for-TcpStream" class="impl"><a class="src rightside" href="../../../../src/hyper_util/client/legacy/connect/http.rs.html#568-580">Source</a><a href="#impl-Connection-for-TcpStream" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection">Connection</a> for <a class="struct" href="../../../../tokio/net/tcp/stream/struct.TcpStream.html" title="struct tokio::net::tcp::stream::TcpStream">TcpStream</a></h3></section></summary><div class="impl-items"><section id="method.connected" class="method trait-impl"><a class="src rightside" href="../../../../src/hyper_util/client/legacy/connect/http.rs.html#569-579">Source</a><a href="#method.connected" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.connected" class="fn">connected</a>(&amp;self) -&gt; <a class="struct" href="struct.Connected.html" title="struct hyper_util::client::legacy::connect::Connected">Connected</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Connection-for-UnixStream" class="impl"><a class="src rightside" href="../../../../src/hyper_util/client/legacy/connect/http.rs.html#583-587">Source</a><a href="#impl-Connection-for-UnixStream" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection">Connection</a> for <a class="struct" href="../../../../tokio/net/unix/stream/struct.UnixStream.html" title="struct tokio::net::unix::stream::UnixStream">UnixStream</a></h3><span class="item-info"><div class="stab portability">Available on <strong>Unix</strong> only.</div></span></section></summary><div class="impl-items"><section id="method.connected-1" class="method trait-impl"><a class="src rightside" href="../../../../src/hyper_util/client/legacy/connect/http.rs.html#584-586">Source</a><a href="#method.connected-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.connected" class="fn">connected</a>(&amp;self) -&gt; <a class="struct" href="struct.Connected.html" title="struct hyper_util::client::legacy::connect::Connected">Connected</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Connection-for-TokioIo%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/hyper_util/client/legacy/connect/http.rs.html#598-605">Source</a><a href="#impl-Connection-for-TokioIo%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection">Connection</a> for <a class="struct" href="../../../rt/tokio/struct.TokioIo.html" title="struct hyper_util::rt::tokio::TokioIo">TokioIo</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="trait.Connection.html" title="trait hyper_util::client::legacy::connect::Connection">Connection</a>,</div></h3></section></div><script src="../../../../trait.impl/hyper_util/client/legacy/connect/trait.Connection.js" data-ignore-extern-crates="tokio" async></script></section></div></main></body></html>