deploy: de38ae62916547ad097c066f94a32e9ba7790eeb

This commit is contained in:
NotAShelf 2025-02-05 00:10:33 +00:00
commit 9a86359447
28502 changed files with 1261284 additions and 0 deletions

View file

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

View file

@ -0,0 +1,21 @@
<!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="Performs a DNS resolution."><title>lookup_host in tokio::net - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">lookup_<wbr>host</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 tokio::<wbr>net</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">tokio</a>::<wbr><a href="index.html">net</a></span><h1>Function <span class="fn">lookup_host</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/tokio/net/lookup_host.rs.html#32-37">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn lookup_host&lt;T&gt;(host: T) -&gt; <a class="type" href="https://doc.rust-lang.org/1.84.1/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a>&lt;impl <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/net/socket_addr/enum.SocketAddr.html" title="enum core::net::socket_addr::SocketAddr">SocketAddr</a>&gt;&gt;<div class="where">where
T: <a class="trait" href="trait.ToSocketAddrs.html" title="trait tokio::net::ToSocketAddrs">ToSocketAddrs</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Performs a DNS resolution.</p>
<p>The returned iterator may not actually yield any values depending on the
outcome of any resolution performed.</p>
<p>This API is not intended to cover all DNS use cases. Anything beyond the
basic use case should be done with a specialized library.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>To resolve a DNS entry:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>tokio::net;
<span class="kw">use </span>std::io;
<span class="attr">#[tokio::main]
</span><span class="kw">async fn </span>main() -&gt; io::Result&lt;()&gt; {
<span class="kw">for </span>addr <span class="kw">in </span>net::lookup_host(<span class="string">"localhost:3000"</span>).<span class="kw">await</span><span class="question-mark">? </span>{
<span class="macro">println!</span>(<span class="string">"socket address is {}"</span>, addr);
}
<span class="prelude-val">Ok</span>(())
}</code></pre></div>
</div></details></section></div></main></body></html>

18
tokio/net/index.html Normal file
View file

@ -0,0 +1,18 @@
<!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/UDP/Unix bindings for `tokio`."><title>tokio::net - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module net</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#organization" title="Organization">Organization</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="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate tokio</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">tokio</a></span><h1>Module <span>net</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/tokio/net/mod.rs.html#1-64">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>TCP/UDP/Unix bindings for <code>tokio</code>.</p>
<p>This module contains the TCP/UDP/Unix networking types, similar to the standard
library, which can be used to implement networking protocols.</p>
<h2 id="organization"><a class="doc-anchor" href="#organization">§</a>Organization</h2>
<ul>
<li><a href="struct.TcpListener.html" title="struct tokio::net::TcpListener"><code>TcpListener</code></a> and <a href="struct.TcpStream.html" title="struct tokio::net::TcpStream"><code>TcpStream</code></a> provide functionality for communication over TCP</li>
<li><a href="struct.UdpSocket.html" title="struct tokio::net::UdpSocket"><code>UdpSocket</code></a> provides functionality for communication over UDP</li>
<li><a href="struct.UnixListener.html" title="struct tokio::net::UnixListener"><code>UnixListener</code></a> and <a href="struct.UnixStream.html" title="struct tokio::net::UnixStream"><code>UnixStream</code></a> provide functionality for communication over a
Unix Domain Stream Socket <strong>(available on Unix only)</strong></li>
<li><a href="struct.UnixDatagram.html" title="struct tokio::net::UnixDatagram"><code>UnixDatagram</code></a> provides functionality for communication
over Unix Domain Datagram Socket <strong>(available on Unix only)</strong></li>
<li><a href="unix/pipe/index.html" title="mod tokio::net::unix::pipe"><code>tokio::net::unix::pipe</code></a> for FIFO pipes <strong>(available on Unix only)</strong></li>
<li><a href="windows::named_pipe"><code>tokio::net::windows::named_pipe</code></a> for Named Pipes <strong>(available on Windows only)</strong></li>
</ul>
<p>For IO resources not available in <code>tokio::net</code>, you can use <a href="../io/unix/struct.AsyncFd.html" title="struct tokio::io::unix::AsyncFd"><code>AsyncFd</code></a>.</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="tcp/index.html" title="mod tokio::net::tcp">tcp</a></div><div class="desc docblock-short">TCP utility types.</div></li><li><div class="item-name"><a class="mod" href="unix/index.html" title="mod tokio::net::unix">unix</a></div><div class="desc docblock-short">Unix specific network types.</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.TcpListener.html" title="struct tokio::net::TcpListener">TcpListener</a></div><div class="desc docblock-short">A TCP socket server, listening for connections.</div></li><li><div class="item-name"><a class="struct" href="struct.TcpSocket.html" title="struct tokio::net::TcpSocket">TcpSocket</a></div><div class="desc docblock-short">A TCP socket that has not yet been converted to a <code>TcpStream</code> or
<code>TcpListener</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.TcpStream.html" title="struct tokio::net::TcpStream">TcpStream</a></div><div class="desc docblock-short">A TCP stream between a local and a remote socket.</div></li><li><div class="item-name"><a class="struct" href="struct.UdpSocket.html" title="struct tokio::net::UdpSocket">UdpSocket</a></div><div class="desc docblock-short">A UDP socket.</div></li><li><div class="item-name"><a class="struct" href="struct.UnixDatagram.html" title="struct tokio::net::UnixDatagram">Unix<wbr>Datagram</a></div><div class="desc docblock-short">An I/O object representing a Unix datagram socket.</div></li><li><div class="item-name"><a class="struct" href="struct.UnixListener.html" title="struct tokio::net::UnixListener">Unix<wbr>Listener</a></div><div class="desc docblock-short">A Unix socket which can accept connections from other Unix sockets.</div></li><li><div class="item-name"><a class="struct" href="struct.UnixSocket.html" title="struct tokio::net::UnixSocket">Unix<wbr>Socket</a></div><div class="desc docblock-short">A Unix socket that has not yet been converted to a <a href="struct.UnixStream.html" title="struct tokio::net::UnixStream"><code>UnixStream</code></a>, <a href="struct.UnixDatagram.html" title="struct tokio::net::UnixDatagram"><code>UnixDatagram</code></a>, or
<a href="struct.UnixListener.html" title="struct tokio::net::UnixListener"><code>UnixListener</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.UnixStream.html" title="struct tokio::net::UnixStream">Unix<wbr>Stream</a></div><div class="desc docblock-short">A structure representing a connected Unix socket.</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.ToSocketAddrs.html" title="trait tokio::net::ToSocketAddrs">ToSocket<wbr>Addrs</a></div><div class="desc docblock-short">Converts or resolves without blocking to one or more <code>SocketAddr</code> values.</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.lookup_host.html" title="fn tokio::net::lookup_host">lookup_<wbr>host</a></div><div class="desc docblock-short">Performs a DNS resolution.</div></li></ul></section></div></main></body></html>

View file

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

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"fn":["lookup_host"],"mod":["tcp","unix"],"struct":["TcpListener","TcpSocket","TcpStream","UdpSocket","UnixDatagram","UnixListener","UnixSocket","UnixStream"],"trait":["ToSocketAddrs"]};

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

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

3
tokio/net/tcp/index.html Normal file
View 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 utility types."><title>tokio::net::tcp - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../tokio/index.html">tokio</a><span class="version">1.42.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 tokio::<wbr>net</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">tokio</a>::<wbr><a href="../index.html">net</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/tokio/net/tcp/mod.rs.html#1-16">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>TCP utility types.</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.OwnedReadHalf.html" title="struct tokio::net::tcp::OwnedReadHalf">Owned<wbr>Read<wbr>Half</a></div><div class="desc docblock-short">Owned read half of a <a href="../struct.TcpStream.html" title="struct tokio::net::TcpStream"><code>TcpStream</code></a>, created by <a href="../struct.TcpStream.html#method.into_split" title="method tokio::net::TcpStream::into_split"><code>into_split</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.OwnedWriteHalf.html" title="struct tokio::net::tcp::OwnedWriteHalf">Owned<wbr>Write<wbr>Half</a></div><div class="desc docblock-short">Owned write half of a <a href="../struct.TcpStream.html" title="struct tokio::net::TcpStream"><code>TcpStream</code></a>, created by <a href="../struct.TcpStream.html#method.into_split" title="method tokio::net::TcpStream::into_split"><code>into_split</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.ReadHalf.html" title="struct tokio::net::tcp::ReadHalf">Read<wbr>Half</a></div><div class="desc docblock-short">Borrowed read half of a <a href="../struct.TcpStream.html" title="struct tokio::net::TcpStream"><code>TcpStream</code></a>, created by <a href="../struct.TcpStream.html#method.split" title="method tokio::net::TcpStream::split"><code>split</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.ReuniteError.html" title="struct tokio::net::tcp::ReuniteError">Reunite<wbr>Error</a></div><div class="desc docblock-short">Error indicating that two halves were not from the same socket, and thus could
not be reunited.</div></li><li><div class="item-name"><a class="struct" href="struct.WriteHalf.html" title="struct tokio::net::tcp::WriteHalf">Write<wbr>Half</a></div><div class="desc docblock-short">Borrowed write half of a <a href="../struct.TcpStream.html" title="struct tokio::net::TcpStream"><code>TcpStream</code></a>, created by <a href="../struct.TcpStream.html#method.split" title="method tokio::net::TcpStream::split"><code>split</code></a>.</div></li></ul></section></div></main></body></html>

View file

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

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["OwnedReadHalf","OwnedWriteHalf","ReadHalf","ReuniteError","WriteHalf"]};

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../tokio/net/struct.TcpSocket.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/struct.TcpSocket.html">../../../../tokio/net/struct.TcpSocket.html</a>...</p>
<script>location.replace("../../../../tokio/net/struct.TcpSocket.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=../../../../tokio/net/tcp/struct.ReadHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/tcp/struct.ReadHalf.html">../../../../tokio/net/tcp/struct.ReadHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/tcp/struct.ReadHalf.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=../../../../tokio/net/tcp/struct.WriteHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/tcp/struct.WriteHalf.html">../../../../tokio/net/tcp/struct.WriteHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/tcp/struct.WriteHalf.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=../../../../tokio/net/tcp/struct.OwnedReadHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/tcp/struct.OwnedReadHalf.html">../../../../tokio/net/tcp/struct.OwnedReadHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/tcp/struct.OwnedReadHalf.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=../../../../tokio/net/tcp/struct.OwnedWriteHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/tcp/struct.OwnedWriteHalf.html">../../../../tokio/net/tcp/struct.OwnedWriteHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/tcp/struct.OwnedWriteHalf.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=../../../../tokio/net/tcp/struct.ReuniteError.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/tcp/struct.ReuniteError.html">../../../../tokio/net/tcp/struct.ReuniteError.html</a>...</p>
<script>location.replace("../../../../tokio/net/tcp/struct.ReuniteError.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=../../../../tokio/net/struct.TcpStream.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/struct.TcpStream.html">../../../../tokio/net/struct.TcpStream.html</a>...</p>
<script>location.replace("../../../../tokio/net/struct.TcpStream.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

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=../../../tokio/net/struct.UdpSocket.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../tokio/net/struct.UdpSocket.html">../../../tokio/net/struct.UdpSocket.html</a>...</p>
<script>location.replace("../../../tokio/net/struct.UdpSocket.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=../../../../../tokio/net/struct.UnixDatagram.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../tokio/net/struct.UnixDatagram.html">../../../../../tokio/net/struct.UnixDatagram.html</a>...</p>
<script>location.replace("../../../../../tokio/net/struct.UnixDatagram.html" + location.search + location.hash);</script>
</body>
</html>

View 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="Unix specific network types."><title>tokio::net::unix - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module unix</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="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In tokio::<wbr>net</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">tokio</a>::<wbr><a href="../index.html">net</a></span><h1>Module <span>unix</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/tokio/net/unix/mod.rs.html#1-39">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Unix specific network types.</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="pipe/index.html" title="mod tokio::net::unix::pipe">pipe</a></div><div class="desc docblock-short">Unix pipe types.</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.OwnedReadHalf.html" title="struct tokio::net::unix::OwnedReadHalf">Owned<wbr>Read<wbr>Half</a></div><div class="desc docblock-short">Owned read half of a <a href="../struct.UnixStream.html" title="struct tokio::net::UnixStream"><code>UnixStream</code></a>, created by <a href="../struct.UnixStream.html#method.into_split" title="method tokio::net::UnixStream::into_split"><code>into_split</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.OwnedWriteHalf.html" title="struct tokio::net::unix::OwnedWriteHalf">Owned<wbr>Write<wbr>Half</a></div><div class="desc docblock-short">Owned write half of a <a href="../struct.UnixStream.html" title="struct tokio::net::UnixStream"><code>UnixStream</code></a>, created by <a href="../struct.UnixStream.html#method.into_split" title="method tokio::net::UnixStream::into_split"><code>into_split</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.ReadHalf.html" title="struct tokio::net::unix::ReadHalf">Read<wbr>Half</a></div><div class="desc docblock-short">Borrowed read half of a <a href="../struct.UnixStream.html" title="struct tokio::net::UnixStream"><code>UnixStream</code></a>, created by <a href="../struct.UnixStream.html#method.split" title="method tokio::net::UnixStream::split"><code>split</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.ReuniteError.html" title="struct tokio::net::unix::ReuniteError">Reunite<wbr>Error</a></div><div class="desc docblock-short">Error indicating that two halves were not from the same socket, and thus could
not be reunited.</div></li><li><div class="item-name"><a class="struct" href="struct.SocketAddr.html" title="struct tokio::net::unix::SocketAddr">Socket<wbr>Addr</a></div><div class="desc docblock-short">An address associated with a Tokio Unix socket.</div></li><li><div class="item-name"><a class="struct" href="struct.UCred.html" title="struct tokio::net::unix::UCred">UCred</a></div><div class="desc docblock-short">Credentials of a process.</div></li><li><div class="item-name"><a class="struct" href="struct.WriteHalf.html" title="struct tokio::net::unix::WriteHalf">Write<wbr>Half</a></div><div class="desc docblock-short">Borrowed write half of a <a href="../struct.UnixStream.html" title="struct tokio::net::UnixStream"><code>UnixStream</code></a>, created by <a href="../struct.UnixStream.html#method.split" title="method tokio::net::UnixStream::split"><code>split</code></a>.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.gid_t.html" title="type tokio::net::unix::gid_t">gid_t</a></div><div class="desc docblock-short">A type representing group ID.</div></li><li><div class="item-name"><a class="type" href="type.pid_t.html" title="type tokio::net::unix::pid_t">pid_t</a></div><div class="desc docblock-short">A type representing process and process group IDs.</div></li><li><div class="item-name"><a class="type" href="type.uid_t.html" title="type tokio::net::unix::uid_t">uid_t</a></div><div class="desc docblock-short">A type representing user ID.</div></li></ul></section></div></main></body></html>

View file

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

View file

@ -0,0 +1,31 @@
<!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="Creates a new anonymous Unix pipe."><title>pipe in tokio::net::unix::pipe - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">pipe</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#errors" title="Errors">Errors</a></li><li><a href="#examples" title="Examples">Examples</a></li><li><a href="#panics" title="Panics">Panics</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In tokio::<wbr>net::<wbr>unix::<wbr>pipe</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">tokio</a>::<wbr><a href="../../index.html">net</a>::<wbr><a href="../index.html">unix</a>::<wbr><a href="index.html">pipe</a></span><h1>Function <span class="fn">pipe</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/tokio/net/unix/pipe.rs.html#67-70">Source</a> </span></div><pre class="rust item-decl"><code>pub fn pipe() -&gt; <a class="type" href="https://doc.rust-lang.org/1.84.1/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a>&lt;(<a class="struct" href="struct.Sender.html" title="struct tokio::net::unix::pipe::Sender">Sender</a>, <a class="struct" href="struct.Receiver.html" title="struct tokio::net::unix::pipe::Receiver">Receiver</a>)&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a new anonymous Unix pipe.</p>
<p>This function will open a new pipe and associate both pipe ends with the default
event loop.</p>
<p>If you need to create a pipe for communication with a spawned process, you can
use <a href="https://doc.rust-lang.org/1.84.1/std/process/struct.Stdio.html#method.piped" title="associated function std::process::Stdio::piped"><code>Stdio::piped()</code></a> instead.</p>
<h2 id="errors"><a class="doc-anchor" href="#errors">§</a>Errors</h2>
<p>If creating a pipe fails, this function will return with the related OS error.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Create a pipe and pass the writing end to a spawned process.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>tokio::net::unix::pipe;
<span class="kw">use </span>tokio::process::Command;
<span class="kw">let </span>(tx, <span class="kw-2">mut </span>rx) = pipe::pipe()<span class="question-mark">?</span>;
<span class="kw">let </span><span class="kw-2">mut </span>buffer = String::new();
<span class="kw">let </span>status = Command::new(<span class="string">"echo"</span>)
.arg(<span class="string">"Hello, world!"</span>)
.stdout(tx.into_blocking_fd()<span class="question-mark">?</span>)
.status();
rx.read_to_string(<span class="kw-2">&amp;mut </span>buffer).<span class="kw">await</span><span class="question-mark">?</span>;
<span class="macro">assert!</span>(status.<span class="kw">await</span><span class="question-mark">?</span>.success());
<span class="macro">assert_eq!</span>(buffer, <span class="string">"Hello, world!\n"</span>);</code></pre></div>
<h2 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h2>
<p>This function panics if it is not called from within a runtime with
IO enabled.</p>
<p>The runtime is usually set implicitly when this function is called
from a future driven by a tokio runtime, otherwise runtime can be set
explicitly with <a href="../../../runtime/struct.Runtime.html#method.enter" title="method tokio::runtime::Runtime::enter"><code>Runtime::enter</code></a> function.</p>
</div></details></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="Unix pipe types."><title>tokio::net::unix::pipe - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module pipe</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="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In tokio::<wbr>net::<wbr>unix</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">tokio</a>::<wbr><a href="../../index.html">net</a>::<wbr><a href="../index.html">unix</a></span><h1>Module <span>pipe</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/tokio/net/unix/pipe.rs.html#1-1442">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Unix pipe types.</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.OpenOptions.html" title="struct tokio::net::unix::pipe::OpenOptions">Open<wbr>Options</a></div><div class="desc docblock-short">Options and flags which can be used to configure how a FIFO file is opened.</div></li><li><div class="item-name"><a class="struct" href="struct.Receiver.html" title="struct tokio::net::unix::pipe::Receiver">Receiver</a></div><div class="desc docblock-short">Reading end of a Unix pipe.</div></li><li><div class="item-name"><a class="struct" href="struct.Sender.html" title="struct tokio::net::unix::pipe::Sender">Sender</a></div><div class="desc docblock-short">Writing end of a Unix pipe.</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.pipe.html" title="fn tokio::net::unix::pipe::pipe">pipe</a></div><div class="desc docblock-short">Creates a new anonymous Unix pipe.</div></li></ul></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"fn":["pipe"],"struct":["OpenOptions","Receiver","Sender"]};

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 @@
window.SIDEBAR_ITEMS = {"mod":["pipe"],"struct":["OwnedReadHalf","OwnedWriteHalf","ReadHalf","ReuniteError","SocketAddr","UCred","WriteHalf"],"type":["gid_t","pid_t","uid_t"]};

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../tokio/net/struct.UnixSocket.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/struct.UnixSocket.html">../../../../tokio/net/struct.UnixSocket.html</a>...</p>
<script>location.replace("../../../../tokio/net/struct.UnixSocket.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=../../../../tokio/net/unix/struct.SocketAddr.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/unix/struct.SocketAddr.html">../../../../tokio/net/unix/struct.SocketAddr.html</a>...</p>
<script>location.replace("../../../../tokio/net/unix/struct.SocketAddr.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=../../../../tokio/net/unix/struct.ReadHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/unix/struct.ReadHalf.html">../../../../tokio/net/unix/struct.ReadHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/unix/struct.ReadHalf.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=../../../../tokio/net/unix/struct.WriteHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/unix/struct.WriteHalf.html">../../../../tokio/net/unix/struct.WriteHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/unix/struct.WriteHalf.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=../../../../tokio/net/unix/struct.OwnedReadHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/unix/struct.OwnedReadHalf.html">../../../../tokio/net/unix/struct.OwnedReadHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/unix/struct.OwnedReadHalf.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=../../../../tokio/net/unix/struct.OwnedWriteHalf.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/unix/struct.OwnedWriteHalf.html">../../../../tokio/net/unix/struct.OwnedWriteHalf.html</a>...</p>
<script>location.replace("../../../../tokio/net/unix/struct.OwnedWriteHalf.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=../../../../tokio/net/unix/struct.ReuniteError.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/unix/struct.ReuniteError.html">../../../../tokio/net/unix/struct.ReuniteError.html</a>...</p>
<script>location.replace("../../../../tokio/net/unix/struct.ReuniteError.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=../../../../tokio/net/struct.UnixStream.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/struct.UnixStream.html">../../../../tokio/net/struct.UnixStream.html</a>...</p>
<script>location.replace("../../../../tokio/net/struct.UnixStream.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

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,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="A type representing group ID."><title>gid_t in tokio::net::unix - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In tokio::<wbr>net::<wbr>unix</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">tokio</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">unix</a></span><h1>Type Alias <span class="type">gid_t</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/tokio/net/unix/mod.rs.html#35">Source</a> </span></div><pre class="rust item-decl"><code>pub type gid_t = <a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.u32.html">u32</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type representing group ID.</p>
</div></details></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="A type representing process and process group IDs."><title>pid_t in tokio::net::unix - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In tokio::<wbr>net::<wbr>unix</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">tokio</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">unix</a></span><h1>Type Alias <span class="type">pid_t</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/tokio/net/unix/mod.rs.html#39">Source</a> </span></div><pre class="rust item-decl"><code>pub type pid_t = <a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.i32.html">i32</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type representing process and process group IDs.</p>
</div></details></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="A type representing user ID."><title>uid_t in tokio::net::unix - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="tokio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../tokio/index.html">tokio</a><span class="version">1.42.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In tokio::<wbr>net::<wbr>unix</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">tokio</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">unix</a></span><h1>Type Alias <span class="type">uid_t</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/tokio/net/unix/mod.rs.html#31">Source</a> </span></div><pre class="rust item-decl"><code>pub type uid_t = <a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.u32.html">u32</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type representing user ID.</p>
</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=../../../../tokio/net/unix/struct.UCred.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../tokio/net/unix/struct.UCred.html">../../../../tokio/net/unix/struct.UCred.html</a>...</p>
<script>location.replace("../../../../tokio/net/unix/struct.UCred.html" + location.search + location.hash);</script>
</body>
</html>