mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-18 08:39:53 +00:00
deploy: de38ae62916547ad097c066f94a32e9ba7790eeb
This commit is contained in:
commit
9a86359447
28502 changed files with 1261284 additions and 0 deletions
1
tokio_native_tls/all.html
Normal file
1
tokio_native_tls/all.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</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_native_tls" 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="../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 sys"><!--[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_native_tls/index.html">tokio_<wbr>native_<wbr>tls</a><span class="version">0.3.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.AllowStd.html">AllowStd</a></li><li><a href="struct.TlsAcceptor.html">TlsAcceptor</a></li><li><a href="struct.TlsConnector.html">TlsConnector</a></li><li><a href="struct.TlsStream.html">TlsStream</a></li><li><a href="native_tls/struct.Certificate.html">native_tls::Certificate</a></li><li><a href="native_tls/struct.Error.html">native_tls::Error</a></li><li><a href="native_tls/struct.Identity.html">native_tls::Identity</a></li><li><a href="native_tls/struct.MidHandshakeTlsStream.html">native_tls::MidHandshakeTlsStream</a></li><li><a href="native_tls/struct.TlsAcceptor.html">native_tls::TlsAcceptor</a></li><li><a href="native_tls/struct.TlsAcceptorBuilder.html">native_tls::TlsAcceptorBuilder</a></li><li><a href="native_tls/struct.TlsConnector.html">native_tls::TlsConnector</a></li><li><a href="native_tls/struct.TlsConnectorBuilder.html">native_tls::TlsConnectorBuilder</a></li><li><a href="native_tls/struct.TlsStream.html">native_tls::TlsStream</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="native_tls/enum.HandshakeError.html">native_tls::HandshakeError</a></li><li><a href="native_tls/enum.Protocol.html">native_tls::Protocol</a></li></ul><h3 id="types">Type Aliases</h3><ul class="all-items"><li><a href="native_tls/type.Result.html">native_tls::Result</a></li></ul></section></div></main></body></html>
|
||||
17
tokio_native_tls/index.html
Normal file
17
tokio_native_tls/index.html
Normal 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="Async TLS streams"><title>tokio_native_tls - 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_native_tls" 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="../crates.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 crate"><!--[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_native_tls/index.html">tokio_<wbr>native_<wbr>tls</a><span class="version">0.3.1</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"></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"><h1>Crate <span>tokio_native_tls</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/tokio_native_tls/lib.rs.html#1-384">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Async TLS streams</p>
|
||||
<p>This library is an implementation of TLS streams using the most appropriate
|
||||
system library by default for negotiating the connection. That is, on
|
||||
Windows this library uses SChannel, on OSX it uses SecureTransport, and on
|
||||
other platforms it uses OpenSSL.</p>
|
||||
<p>Each TLS stream implements the <code>Read</code> and <code>Write</code> traits to interact and
|
||||
interoperate with the rest of the futures I/O ecosystem. Client connections
|
||||
initiated from this crate verify hostnames automatically and by default.</p>
|
||||
<p>This crate primarily exports this ability through two newtypes,
|
||||
<code>TlsConnector</code> and <code>TlsAcceptor</code>. These newtypes augment the
|
||||
functionality provided by the <code>native-tls</code> crate, on which this crate is
|
||||
built. Configuration of TLS parameters is still primarily done through the
|
||||
<code>native-tls</code> crate.</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="native_tls/index.html" title="mod tokio_native_tls::native_tls">native_<wbr>tls</a></div><div class="desc docblock-short">re-export native_tls</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.AllowStd.html" title="struct tokio_native_tls::AllowStd">Allow<wbr>Std</a></div><div class="desc docblock-short">An intermediate wrapper for the inner stream <code>S</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsAcceptor.html" title="struct tokio_native_tls::TlsAcceptor">TlsAcceptor</a></div><div class="desc docblock-short">A wrapper around a <code>native_tls::TlsAcceptor</code>, providing an async <code>accept</code>
|
||||
method.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct tokio_native_tls::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">A wrapper around a <code>native_tls::TlsConnector</code>, providing an async <code>connect</code>
|
||||
method.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsStream.html" title="struct tokio_native_tls::TlsStream">TlsStream</a></div><div class="desc docblock-short">A wrapper around an underlying raw stream which implements the TLS or SSL
|
||||
protocol.</div></li></ul></section></div></main></body></html>
|
||||
28
tokio_native_tls/native_tls/enum.HandshakeError.html
Normal file
28
tokio_native_tls/native_tls/enum.HandshakeError.html
Normal file
File diff suppressed because one or more lines are too long
26
tokio_native_tls/native_tls/enum.Protocol.html
Normal file
26
tokio_native_tls/native_tls/enum.Protocol.html
Normal file
File diff suppressed because one or more lines are too long
2
tokio_native_tls/native_tls/index.html
Normal file
2
tokio_native_tls/native_tls/index.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="re-export native_tls"><title>tokio_native_tls::native_tls - 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_native_tls" 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_native_tls/index.html">tokio_<wbr>native_<wbr>tls</a><span class="version">0.3.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module native_<wbr>tls</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate tokio_<wbr>native_<wbr>tls</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">tokio_native_tls</a></span><h1>Module <span>native_tls</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/tokio_native_tls/lib.rs.html#382">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>re-export native_tls</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.Certificate.html" title="struct tokio_native_tls::native_tls::Certificate">Certificate</a></div><div class="desc docblock-short">An X509 certificate.</div></li><li><div class="item-name"><a class="struct" href="struct.Error.html" title="struct tokio_native_tls::native_tls::Error">Error</a></div><div class="desc docblock-short">An error returned from the TLS implementation.</div></li><li><div class="item-name"><a class="struct" href="struct.Identity.html" title="struct tokio_native_tls::native_tls::Identity">Identity</a></div><div class="desc docblock-short">A cryptographic identity.</div></li><li><div class="item-name"><a class="struct" href="struct.MidHandshakeTlsStream.html" title="struct tokio_native_tls::native_tls::MidHandshakeTlsStream">MidHandshake<wbr>TlsStream</a></div><div class="desc docblock-short">A TLS stream which has been interrupted midway through the handshake process.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsAcceptor.html" title="struct tokio_native_tls::native_tls::TlsAcceptor">TlsAcceptor</a></div><div class="desc docblock-short">A builder for server-side TLS connections.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptor<wbr>Builder</a></div><div class="desc docblock-short">A builder for <code>TlsAcceptor</code>s.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnector.html" title="struct tokio_native_tls::native_tls::TlsConnector">TlsConnector</a></div><div class="desc docblock-short">A builder for client-side TLS connections.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsConnectorBuilder.html" title="struct tokio_native_tls::native_tls::TlsConnectorBuilder">TlsConnector<wbr>Builder</a></div><div class="desc docblock-short">A builder for <code>TlsConnector</code>s.</div></li><li><div class="item-name"><a class="struct" href="struct.TlsStream.html" title="struct tokio_native_tls::native_tls::TlsStream">TlsStream</a></div><div class="desc docblock-short">A stream managing a TLS session.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.HandshakeError.html" title="enum tokio_native_tls::native_tls::HandshakeError">Handshake<wbr>Error</a></div><div class="desc docblock-short">An error returned from <code>ClientBuilder::handshake</code>.</div></li><li><div class="item-name"><a class="enum" href="enum.Protocol.html" title="enum tokio_native_tls::native_tls::Protocol">Protocol</a></div><div class="desc docblock-short">SSL/TLS protocol versions.</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.Result.html" title="type tokio_native_tls::native_tls::Result">Result</a></div><div class="desc docblock-short">A typedef of the result-type returned by many methods.</div></li></ul></section></div></main></body></html>
|
||||
1
tokio_native_tls/native_tls/sidebar-items.js
Normal file
1
tokio_native_tls/native_tls/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"enum":["HandshakeError","Protocol"],"struct":["Certificate","Error","Identity","MidHandshakeTlsStream","TlsAcceptor","TlsAcceptorBuilder","TlsConnector","TlsConnectorBuilder","TlsStream"],"type":["Result"]};
|
||||
17
tokio_native_tls/native_tls/struct.Certificate.html
Normal file
17
tokio_native_tls/native_tls/struct.Certificate.html
Normal file
File diff suppressed because one or more lines are too long
13
tokio_native_tls/native_tls/struct.Error.html
Normal file
13
tokio_native_tls/native_tls/struct.Error.html
Normal file
File diff suppressed because one or more lines are too long
27
tokio_native_tls/native_tls/struct.Identity.html
Normal file
27
tokio_native_tls/native_tls/struct.Identity.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
57
tokio_native_tls/native_tls/struct.TlsAcceptor.html
Normal file
57
tokio_native_tls/native_tls/struct.TlsAcceptor.html
Normal file
File diff suppressed because one or more lines are too long
26
tokio_native_tls/native_tls/struct.TlsAcceptorBuilder.html
Normal file
26
tokio_native_tls/native_tls/struct.TlsAcceptorBuilder.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!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 builder for `TlsAcceptor`s."><title>TlsAcceptorBuilder in tokio_native_tls::native_tls - 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_native_tls" 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 struct"><!--[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_native_tls/index.html">tokio_<wbr>native_<wbr>tls</a><span class="version">0.3.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">TlsAcceptor<wbr>Builder</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.build" title="build">build</a></li><li><a href="#method.max_protocol_version" title="max_protocol_version">max_protocol_version</a></li><li><a href="#method.min_protocol_version" title="min_protocol_version">min_protocol_version</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-TlsAcceptorBuilder" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-TlsAcceptorBuilder" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-TlsAcceptorBuilder" title="Send">Send</a></li><li><a href="#impl-Sync-for-TlsAcceptorBuilder" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-TlsAcceptorBuilder" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-TlsAcceptorBuilder" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In tokio_<wbr>native_<wbr>tls::<wbr>native_<wbr>tls</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">tokio_native_tls</a>::<wbr><a href="index.html">native_tls</a></span><h1>Struct <span class="struct">TlsAcceptorBuilder</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/native_tls/lib.rs.html#519">Source</a> </span></div><pre class="rust item-decl"><code>pub struct TlsAcceptorBuilder { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A builder for <code>TlsAcceptor</code>s.</p>
|
||||
<p>You can get one from <a href="struct.TlsAcceptor.html#method.builder" title="associated function tokio_native_tls::native_tls::TlsAcceptor::builder"><code>TlsAcceptor::builder()</code></a></p>
|
||||
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-TlsAcceptorBuilder" class="impl"><a class="src rightside" href="../../src/native_tls/lib.rs.html#525">Source</a><a href="#impl-TlsAcceptorBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.min_protocol_version" class="method"><a class="src rightside" href="../../src/native_tls/lib.rs.html#531">Source</a><h4 class="code-header">pub fn <a href="#method.min_protocol_version" class="fn">min_protocol_version</a>(
|
||||
&mut self,
|
||||
protocol: <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.Protocol.html" title="enum tokio_native_tls::native_tls::Protocol">Protocol</a>>,
|
||||
) -> &mut <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h4></section></summary><div class="docblock"><p>Sets the minimum supported protocol version.</p>
|
||||
<p>A value of <code>None</code> enables support for the oldest protocols supported by the implementation.</p>
|
||||
<p>Defaults to <code>Some(Protocol::Tlsv10)</code>.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.max_protocol_version" class="method"><a class="src rightside" href="../../src/native_tls/lib.rs.html#541">Source</a><h4 class="code-header">pub fn <a href="#method.max_protocol_version" class="fn">max_protocol_version</a>(
|
||||
&mut self,
|
||||
protocol: <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.Protocol.html" title="enum tokio_native_tls::native_tls::Protocol">Protocol</a>>,
|
||||
) -> &mut <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h4></section></summary><div class="docblock"><p>Sets the maximum supported protocol version.</p>
|
||||
<p>A value of <code>None</code> enables support for the newest protocols supported by the implementation.</p>
|
||||
<p>Defaults to <code>None</code>.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.build" class="method"><a class="src rightside" href="../../src/native_tls/lib.rs.html#547">Source</a><h4 class="code-header">pub fn <a href="#method.build" class="fn">build</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.TlsAcceptor.html" title="struct tokio_native_tls::native_tls::TlsAcceptor">TlsAcceptor</a>, <a class="struct" href="struct.Error.html" title="struct tokio_native_tls::native_tls::Error">Error</a>></h4></section></summary><div class="docblock"><p>Creates a new <code>TlsAcceptor</code>.</p>
|
||||
</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-TlsAcceptorBuilder" class="impl"><a href="#impl-Freeze-for-TlsAcceptorBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h3></section><section id="impl-RefUnwindSafe-for-TlsAcceptorBuilder" class="impl"><a href="#impl-RefUnwindSafe-for-TlsAcceptorBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h3></section><section id="impl-Send-for-TlsAcceptorBuilder" class="impl"><a href="#impl-Send-for-TlsAcceptorBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h3></section><section id="impl-Sync-for-TlsAcceptorBuilder" class="impl"><a href="#impl-Sync-for-TlsAcceptorBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h3></section><section id="impl-Unpin-for-TlsAcceptorBuilder" class="impl"><a href="#impl-Unpin-for-TlsAcceptorBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h3></section><section id="impl-UnwindSafe-for-TlsAcceptorBuilder" class="impl"><a href="#impl-UnwindSafe-for-TlsAcceptorBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.TlsAcceptorBuilder.html" title="struct tokio_native_tls::native_tls::TlsAcceptorBuilder">TlsAcceptorBuilder</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.1/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.1/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.1/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.1/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.1/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.1/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||||
<p>That is, this conversion is whatever the implementation of
|
||||
<code><a href="https://doc.rust-lang.org/1.84.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.1/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>
|
||||
44
tokio_native_tls/native_tls/struct.TlsConnector.html
Normal file
44
tokio_native_tls/native_tls/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
59
tokio_native_tls/native_tls/struct.TlsConnectorBuilder.html
Normal file
59
tokio_native_tls/native_tls/struct.TlsConnectorBuilder.html
Normal file
File diff suppressed because one or more lines are too long
39
tokio_native_tls/native_tls/struct.TlsStream.html
Normal file
39
tokio_native_tls/native_tls/struct.TlsStream.html
Normal file
File diff suppressed because one or more lines are too long
7
tokio_native_tls/native_tls/type.Result.html
Normal file
7
tokio_native_tls/native_tls/type.Result.html
Normal 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="A typedef of the result-type returned by many methods."><title>Result in tokio_native_tls::native_tls - 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_native_tls" 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_native_tls/index.html">tokio_<wbr>native_<wbr>tls</a><span class="version">0.3.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Result</a></h2><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Err" title="Err">Err</a></li><li><a href="#variant.Ok" title="Ok">Ok</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In tokio_<wbr>native_<wbr>tls::<wbr>native_<wbr>tls</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">tokio_native_tls</a>::<wbr><a href="index.html">native_tls</a></span><h1>Type Alias <span class="type">Result</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/native_tls/lib.rs.html#123">Source</a> </span></div><pre class="rust item-decl"><code>pub type Result<T> = <a class="enum" href="https://doc.rust-lang.org/1.84.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <a class="struct" href="struct.Error.html" title="struct tokio_native_tls::native_tls::Error">Error</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A typedef of the result-type returned by many methods.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum Result<T> {
|
||||
Ok(T),
|
||||
Err(<a class="struct" href="struct.Error.html" title="struct tokio_native_tls::native_tls::Error">Error</a>),
|
||||
}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Ok" class="variant"><a href="#variant.Ok" class="anchor">§</a><span class="since rightside" title="Stable since Rust version 1.0.0">1.0.0</span><h3 class="code-header">Ok(T)</h3></section><div class="docblock"><p>Contains the success value</p>
|
||||
</div><section id="variant.Err" class="variant"><a href="#variant.Err" class="anchor">§</a><span class="since rightside" title="Stable since Rust version 1.0.0">1.0.0</span><h3 class="code-header">Err(<a class="struct" href="struct.Error.html" title="struct tokio_native_tls::native_tls::Error">Error</a>)</h3></section><div class="docblock"><p>Contains the error value</p>
|
||||
</div></div><script src="../../type.impl/core/result/enum.Result.js" data-self-path="tokio_native_tls::native_tls::Result" async></script></section></div></main></body></html>
|
||||
1
tokio_native_tls/sidebar-items.js
Normal file
1
tokio_native_tls/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"mod":["native_tls"],"struct":["AllowStd","TlsAcceptor","TlsConnector","TlsStream"]};
|
||||
31
tokio_native_tls/struct.AllowStd.html
Normal file
31
tokio_native_tls/struct.AllowStd.html
Normal file
File diff suppressed because one or more lines are too long
24
tokio_native_tls/struct.TlsAcceptor.html
Normal file
24
tokio_native_tls/struct.TlsAcceptor.html
Normal file
File diff suppressed because one or more lines are too long
30
tokio_native_tls/struct.TlsConnector.html
Normal file
30
tokio_native_tls/struct.TlsConnector.html
Normal file
File diff suppressed because one or more lines are too long
165
tokio_native_tls/struct.TlsStream.html
Normal file
165
tokio_native_tls/struct.TlsStream.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue