mirror of
https://github.com/fafhrd91/actix-net
synced 2025-01-31 04:52:08 +01:00
61 lines
97 KiB
HTML
61 lines
97 KiB
HTML
<!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="Wraps underlying I/O and the connection request that initiated it."><title>Connection in actix_tls::connect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b778ab399e080a4b.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="actix_tls" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (7608018cb 2024-09-29)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-54bc299d2a5e4e43.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc 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><a class="logo-container" href="../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../actix_tls/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../actix_tls/index.html">actix_<wbr>tls</a><span class="version">3.4.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Connection</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.hostname" title="hostname">hostname</a></li><li><a href="#method.into_parts" title="into_parts">into_parts</a></li><li><a href="#method.io_mut" title="io_mut">io_mut</a></li><li><a href="#method.io_ref" title="io_ref">io_ref</a></li><li><a href="#method.new" title="new">new</a></li><li><a href="#method.replace_io" title="replace_io">replace_io</a></li><li><a href="#method.request" title="request">request</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-Connection%3CR,+IO%3E" title="Debug">Debug</a></li><li><a href="#impl-Deref-for-Connection%3CR,+IO%3E" title="Deref">Deref</a></li><li><a href="#impl-DerefMut-for-Connection%3CR,+IO%3E" title="DerefMut">DerefMut</a></li><li><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnector" title="Service<Connection<R, IO>>">Service<Connection<R, IO>></a></li><li><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService" title="Service<Connection<R, IO>>">Service<Connection<R, IO>></a></li><li><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-1" title="Service<Connection<R, IO>>">Service<Connection<R, IO>></a></li><li><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-2" title="Service<Connection<R, IO>>">Service<Connection<R, IO>></a></li><li><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-3" title="Service<Connection<R, IO>>">Service<Connection<R, IO>></a></li><li><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-4" title="Service<Connection<R, IO>>">Service<Connection<R, IO>></a></li><li><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector" title="ServiceFactory<Connection<R, IO>>">ServiceFactory<Connection<R, IO>></a></li><li><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-1" title="ServiceFactory<Connection<R, IO>>">ServiceFactory<Connection<R, IO>></a></li><li><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-2" title="ServiceFactory<Connection<R, IO>>">ServiceFactory<Connection<R, IO>></a></li><li><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-3" title="ServiceFactory<Connection<R, IO>>">ServiceFactory<Connection<R, IO>></a></li><li><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-4" title="ServiceFactory<Connection<R, IO>>">ServiceFactory<Connection<R, IO>></a></li><li><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-5" title="ServiceFactory<Connection<R, IO>>">ServiceFactory<Connection<R, IO>></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Connection%3CR,+IO%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Connection%3CR,+IO%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Connection%3CR,+IO%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-Connection%3CR,+IO%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Connection%3CR,+IO%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Connection%3CR,+IO%3E" 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-Instrument-for-T" title="Instrument">Instrument</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><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In actix_<wbr>tls::<wbr>connect</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">actix_tls</a>::<wbr><a href="index.html">connect</a></span><h1>Struct <span class="struct">Connection</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/actix_tls/connect/connection.rs.html#5-8">source</a> </span></div><pre class="rust item-decl"><code>pub struct Connection<R, IO> { <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>Wraps underlying I/O and the connection request that initiated it.</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-Connection%3CR,+IO%3E" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#12-17">source</a><a href="#impl-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#14-16">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(req: R, io: IO) -> Self</h4></section></summary><div class="docblock"><p>Construct new <code>Connection</code> from request and IO parts.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Connection%3CR,+IO%3E-1" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#19-44">source</a><a href="#impl-Connection%3CR,+IO%3E-1" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_parts" class="method"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#21-23">source</a><h4 class="code-header">pub fn <a href="#method.into_parts" class="fn">into_parts</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(IO, R)</a></h4></section></summary><div class="docblock"><p>Deconstructs into IO and request parts.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.replace_io" class="method"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#26-28">source</a><h4 class="code-header">pub fn <a href="#method.replace_io" class="fn">replace_io</a><IO2>(self, io: IO2) -> (IO, <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO2>)</h4></section></summary><div class="docblock"><p>Replaces underlying IO, returning old IO and new <code>Connection</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.io_ref" class="method"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#31-33">source</a><h4 class="code-header">pub fn <a href="#method.io_ref" class="fn">io_ref</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&IO</a></h4></section></summary><div class="docblock"><p>Returns a shared reference to the underlying IO.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.io_mut" class="method"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#36-38">source</a><h4 class="code-header">pub fn <a href="#method.io_mut" class="fn">io_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut IO</a></h4></section></summary><div class="docblock"><p>Returns a mutable reference to the underlying IO.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.request" class="method"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#41-43">source</a><h4 class="code-header">pub fn <a href="#method.request" class="fn">request</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&R</a></h4></section></summary><div class="docblock"><p>Returns a reference to the connection request.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Connection%3CR,+IO%3E-2" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#46-51">source</a><a href="#impl-Connection%3CR,+IO%3E-2" class="anchor">§</a><h3 class="code-header">impl<R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>, IO> <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hostname" class="method"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#48-50">source</a><h4 class="code-header">pub fn <a href="#method.hostname" class="fn">hostname</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h4></section></summary><div class="docblock"><p>Returns hostname.</p>
|
||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Connection%3CR,+IO%3E" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#4">source</a><a href="#impl-Debug-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>, IO: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#4">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-Connection%3CR,+IO%3E" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#10">source</a><a href="#impl-Deref-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#10">source</a><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = IO</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#10">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&self) -> &Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DerefMut-for-Connection%3CR,+IO%3E" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#10">source</a><a href="#impl-DerefMut-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/connection.rs.html#10">source</a><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut" class="fn">deref_mut</a>(&mut self) -> &mut Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Mutably dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnector" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#60-90">source</a><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnector" class="anchor">§</a><h3 class="code-header">impl<R, IO> Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="native_tls/struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream + 'static,</div></h3></section></summary><div class="docblock"><p>The <code>native-tls</code> connector is both it’s ServiceFactory and Service impl type.
|
||
As the factory and service share the same type and state.</p>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#65">source</a><a href="#associatedtype.Response-11" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="native_tls/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::native_tls::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the service.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#66">source</a><a href="#associatedtype.Error-11" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the service when polling readiness or executing call.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#67">source</a><a href="#associatedtype.Future-11" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="native_tls/struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a> as Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Response, <<a class="struct" href="native_tls/struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a> as Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Error>>>></h4></section></summary><div class='docblock'>The future response value.</div></details><details class="toggle method-toggle" open><summary><section id="method.poll_ready-5" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#69">source</a><a href="#method.poll_ready-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">poll_ready</a>(&self, _: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::Error>></h4></section></summary><div class='docblock'>Returns <code>Ready</code> when the service is able to process requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.call-5" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#71-89">source</a><a href="#method.call-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">call</a>(&self, stream: <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>) -> Self::Future</h4></section></summary><div class='docblock'>Process the request and return the response asynchronously. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#86-117">source</a><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService" class="anchor">§</a><h3 class="code-header">impl<R, IO> Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="openssl/struct.TlsConnectorService.html" title="struct actix_tls::connect::openssl::TlsConnectorService">TlsConnectorService</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#91">source</a><a href="#associatedtype.Response-1" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="openssl/reexports/struct.AsyncSslStream.html" title="struct actix_tls::connect::openssl::reexports::AsyncSslStream">SslStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the service.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#92">source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the service when polling readiness or executing call.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#93">source</a><a href="#associatedtype.Future-1" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = ConnectFut<R, IO></h4></section></summary><div class='docblock'>The future response value.</div></details><details class="toggle method-toggle" open><summary><section id="method.poll_ready" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#95">source</a><a href="#method.poll_ready" class="anchor">§</a><h4 class="code-header">fn <a class="fn">poll_ready</a>(&self, _: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::Error>></h4></section></summary><div class='docblock'>Returns <code>Ready</code> when the service is able to process requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.call" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#97-116">source</a><a href="#method.call" class="anchor">§</a><h4 class="code-header">fn <a class="fn">call</a>(&self, stream: <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>) -> Self::Future</h4></section></summary><div class='docblock'>Process the request and return the response asynchronously. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-1" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#115-139">source</a><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-1" class="anchor">§</a><h3 class="code-header">impl<R, IO> Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_20/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_20::TlsConnectorService">TlsConnectorService</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#120">source</a><a href="#associatedtype.Response-3" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_20/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_20::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the service.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#121">source</a><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the service when polling readiness or executing call.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#122">source</a><a href="#associatedtype.Future-3" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = ConnectFut<R, IO></h4></section></summary><div class='docblock'>The future response value.</div></details><details class="toggle method-toggle" open><summary><section id="method.poll_ready-1" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#124">source</a><a href="#method.poll_ready-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">poll_ready</a>(&self, _: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::Error>></h4></section></summary><div class='docblock'>Returns <code>Ready</code> when the service is able to process requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.call-1" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#126-138">source</a><a href="#method.call-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">call</a>(&self, connection: <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>) -> Self::Future</h4></section></summary><div class='docblock'>Process the request and return the response asynchronously. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-2" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#115-139">source</a><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-2" class="anchor">§</a><h3 class="code-header">impl<R, IO> Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_21/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_21::TlsConnectorService">TlsConnectorService</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#120">source</a><a href="#associatedtype.Response-5" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_21/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_21::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the service.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#121">source</a><a href="#associatedtype.Error-5" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the service when polling readiness or executing call.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#122">source</a><a href="#associatedtype.Future-5" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = ConnectFut<R, IO></h4></section></summary><div class='docblock'>The future response value.</div></details><details class="toggle method-toggle" open><summary><section id="method.poll_ready-2" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#124">source</a><a href="#method.poll_ready-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">poll_ready</a>(&self, _: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::Error>></h4></section></summary><div class='docblock'>Returns <code>Ready</code> when the service is able to process requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.call-2" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#126-138">source</a><a href="#method.call-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">call</a>(&self, connection: <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>) -> Self::Future</h4></section></summary><div class='docblock'>Process the request and return the response asynchronously. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-3" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#101-125">source</a><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-3" class="anchor">§</a><h3 class="code-header">impl<R, IO> Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_22/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_22::TlsConnectorService">TlsConnectorService</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#106">source</a><a href="#associatedtype.Response-7" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_22/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_22::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the service.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#107">source</a><a href="#associatedtype.Error-7" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the service when polling readiness or executing call.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#108">source</a><a href="#associatedtype.Future-7" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = ConnectFut<R, IO></h4></section></summary><div class='docblock'>The future response value.</div></details><details class="toggle method-toggle" open><summary><section id="method.poll_ready-3" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#110">source</a><a href="#method.poll_ready-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">poll_ready</a>(&self, _: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::Error>></h4></section></summary><div class='docblock'>Returns <code>Ready</code> when the service is able to process requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.call-3" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#112-124">source</a><a href="#method.call-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">call</a>(&self, connection: <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>) -> Self::Future</h4></section></summary><div class='docblock'>Process the request and return the response asynchronously. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-4" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#101-125">source</a><a href="#impl-Service%3CConnection%3CR,+IO%3E%3E-for-TlsConnectorService-4" class="anchor">§</a><h3 class="code-header">impl<R, IO> Service<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_23/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_23::TlsConnectorService">TlsConnectorService</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#106">source</a><a href="#associatedtype.Response-9" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_23/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_23::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the service.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#107">source</a><a href="#associatedtype.Error-9" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the service when polling readiness or executing call.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#108">source</a><a href="#associatedtype.Future-9" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = ConnectFut<R, IO></h4></section></summary><div class='docblock'>The future response value.</div></details><details class="toggle method-toggle" open><summary><section id="method.poll_ready-4" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#110">source</a><a href="#method.poll_ready-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">poll_ready</a>(&self, _: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::Error>></h4></section></summary><div class='docblock'>Returns <code>Ready</code> when the service is able to process requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.call-4" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#112-124">source</a><a href="#method.call-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">call</a>(&self, connection: <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>) -> Self::Future</h4></section></summary><div class='docblock'>Process the request and return the response asynchronously. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#54-71">source</a><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector" class="anchor">§</a><h3 class="code-header">impl<R, IO> ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="openssl/struct.TlsConnector.html" title="struct actix_tls::connect::openssl::TlsConnector">TlsConnector</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#59">source</a><a href="#associatedtype.Response" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="openssl/reexports/struct.AsyncSslStream.html" title="struct actix_tls::connect::openssl::reexports::AsyncSslStream">SslStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#60">source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Config" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#61">source</a><a href="#associatedtype.Config" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Service factory configuration.</div></details><details class="toggle" open><summary><section id="associatedtype.Service" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#62">source</a><a href="#associatedtype.Service" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Service</a> = <a class="struct" href="openssl/struct.TlsConnectorService.html" title="struct actix_tls::connect::openssl::TlsConnectorService">TlsConnectorService</a></h4></section></summary><div class='docblock'>The kind of <code>Service</code> created by this factory.</div></details><details class="toggle" open><summary><section id="associatedtype.InitError" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#63">source</a><a href="#associatedtype.InitError" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InitError</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Errors potentially raised while building a service.</div></details><details class="toggle" open><summary><section id="associatedtype.Future" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#64">source</a><a href="#associatedtype.Future" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = <a class="struct" href="../../actix_utils/future/ready/struct.Ready.html" title="struct actix_utils::future::ready::Ready">Ready</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="openssl/struct.TlsConnector.html" title="struct actix_tls::connect::openssl::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Service, <<a class="struct" href="openssl/struct.TlsConnector.html" title="struct actix_tls::connect::openssl::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::InitError>></h4></section></summary><div class='docblock'>The future of the <code>Service</code> instance.g</div></details><details class="toggle method-toggle" open><summary><section id="method.new_service" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/openssl.rs.html#66-70">source</a><a href="#method.new_service" class="anchor">§</a><h4 class="code-header">fn <a class="fn">new_service</a>(&self, _: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> Self::Future</h4></section></summary><div class='docblock'>Create and return a new service asynchronously.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-1" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#90-107">source</a><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-1" class="anchor">§</a><h3 class="code-header">impl<R, IO> ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_20/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_20::TlsConnector">TlsConnector</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#95">source</a><a href="#associatedtype.Response-2" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_20/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_20::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#96">source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Config-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#97">source</a><a href="#associatedtype.Config-1" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Service factory configuration.</div></details><details class="toggle" open><summary><section id="associatedtype.Service-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#98">source</a><a href="#associatedtype.Service-1" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Service</a> = <a class="struct" href="rustls_0_20/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_20::TlsConnectorService">TlsConnectorService</a></h4></section></summary><div class='docblock'>The kind of <code>Service</code> created by this factory.</div></details><details class="toggle" open><summary><section id="associatedtype.InitError-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#99">source</a><a href="#associatedtype.InitError-1" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InitError</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Errors potentially raised while building a service.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#100">source</a><a href="#associatedtype.Future-2" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = <a class="struct" href="../../actix_utils/future/ready/struct.Ready.html" title="struct actix_utils::future::ready::Ready">Ready</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="rustls_0_20/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_20::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Service, <<a class="struct" href="rustls_0_20/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_20::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::InitError>></h4></section></summary><div class='docblock'>The future of the <code>Service</code> instance.g</div></details><details class="toggle method-toggle" open><summary><section id="method.new_service-1" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_20.rs.html#102-106">source</a><a href="#method.new_service-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">new_service</a>(&self, _: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> Self::Future</h4></section></summary><div class='docblock'>Create and return a new service asynchronously.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-2" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#90-107">source</a><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-2" class="anchor">§</a><h3 class="code-header">impl<R, IO> ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_21/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_21::TlsConnector">TlsConnector</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#95">source</a><a href="#associatedtype.Response-4" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_21/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_21::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#96">source</a><a href="#associatedtype.Error-4" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Config-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#97">source</a><a href="#associatedtype.Config-2" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Service factory configuration.</div></details><details class="toggle" open><summary><section id="associatedtype.Service-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#98">source</a><a href="#associatedtype.Service-2" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Service</a> = <a class="struct" href="rustls_0_21/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_21::TlsConnectorService">TlsConnectorService</a></h4></section></summary><div class='docblock'>The kind of <code>Service</code> created by this factory.</div></details><details class="toggle" open><summary><section id="associatedtype.InitError-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#99">source</a><a href="#associatedtype.InitError-2" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InitError</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Errors potentially raised while building a service.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#100">source</a><a href="#associatedtype.Future-4" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = <a class="struct" href="../../actix_utils/future/ready/struct.Ready.html" title="struct actix_utils::future::ready::Ready">Ready</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="rustls_0_21/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_21::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Service, <<a class="struct" href="rustls_0_21/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_21::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::InitError>></h4></section></summary><div class='docblock'>The future of the <code>Service</code> instance.g</div></details><details class="toggle method-toggle" open><summary><section id="method.new_service-2" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_21.rs.html#102-106">source</a><a href="#method.new_service-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">new_service</a>(&self, _: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> Self::Future</h4></section></summary><div class='docblock'>Create and return a new service asynchronously.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-3" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#76-93">source</a><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-3" class="anchor">§</a><h3 class="code-header">impl<R, IO> ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_22/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_22::TlsConnector">TlsConnector</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#81">source</a><a href="#associatedtype.Response-6" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_22/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_22::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#82">source</a><a href="#associatedtype.Error-6" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Config-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#83">source</a><a href="#associatedtype.Config-3" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Service factory configuration.</div></details><details class="toggle" open><summary><section id="associatedtype.Service-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#84">source</a><a href="#associatedtype.Service-3" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Service</a> = <a class="struct" href="rustls_0_22/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_22::TlsConnectorService">TlsConnectorService</a></h4></section></summary><div class='docblock'>The kind of <code>Service</code> created by this factory.</div></details><details class="toggle" open><summary><section id="associatedtype.InitError-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#85">source</a><a href="#associatedtype.InitError-3" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InitError</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Errors potentially raised while building a service.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#86">source</a><a href="#associatedtype.Future-6" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = <a class="struct" href="../../actix_utils/future/ready/struct.Ready.html" title="struct actix_utils::future::ready::Ready">Ready</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="rustls_0_22/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_22::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Service, <<a class="struct" href="rustls_0_22/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_22::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::InitError>></h4></section></summary><div class='docblock'>The future of the <code>Service</code> instance.g</div></details><details class="toggle method-toggle" open><summary><section id="method.new_service-3" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_22.rs.html#88-92">source</a><a href="#method.new_service-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">new_service</a>(&self, _: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> Self::Future</h4></section></summary><div class='docblock'>Create and return a new service asynchronously.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-4" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#76-93">source</a><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-4" class="anchor">§</a><h3 class="code-header">impl<R, IO> ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="rustls_0_23/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_23::TlsConnector">TlsConnector</a><div class="where">where
|
||
R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>,
|
||
IO: ActixStream + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#81">source</a><a href="#associatedtype.Response-8" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="rustls_0_23/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::rustls_0_23::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#82">source</a><a href="#associatedtype.Error-8" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Config-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#83">source</a><a href="#associatedtype.Config-4" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Service factory configuration.</div></details><details class="toggle" open><summary><section id="associatedtype.Service-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#84">source</a><a href="#associatedtype.Service-4" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Service</a> = <a class="struct" href="rustls_0_23/struct.TlsConnectorService.html" title="struct actix_tls::connect::rustls_0_23::TlsConnectorService">TlsConnectorService</a></h4></section></summary><div class='docblock'>The kind of <code>Service</code> created by this factory.</div></details><details class="toggle" open><summary><section id="associatedtype.InitError-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#85">source</a><a href="#associatedtype.InitError-4" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InitError</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Errors potentially raised while building a service.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#86">source</a><a href="#associatedtype.Future-8" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = <a class="struct" href="../../actix_utils/future/ready/struct.Ready.html" title="struct actix_utils::future::ready::Ready">Ready</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="rustls_0_23/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_23::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Service, <<a class="struct" href="rustls_0_23/struct.TlsConnector.html" title="struct actix_tls::connect::rustls_0_23::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::InitError>></h4></section></summary><div class='docblock'>The future of the <code>Service</code> instance.g</div></details><details class="toggle method-toggle" open><summary><section id="method.new_service-4" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/rustls_0_23.rs.html#88-92">source</a><a href="#method.new_service-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">new_service</a>(&self, _: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> Self::Future</h4></section></summary><div class='docblock'>Create and return a new service asynchronously.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-5" class="impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#42-56">source</a><a href="#impl-ServiceFactory%3CConnection%3CR,+IO%3E%3E-for-TlsConnector-5" class="anchor">§</a><h3 class="code-header">impl<R: <a class="trait" href="trait.Host.html" title="trait actix_tls::connect::Host">Host</a>, IO> ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>> for <a class="struct" href="native_tls/struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a><div class="where">where
|
||
IO: ActixStream + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Response-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#46">source</a><a href="#associatedtype.Response-10" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Response</a> = <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, <a class="struct" href="native_tls/reexports/struct.AsyncTlsStream.html" title="struct actix_tls::connect::native_tls::reexports::AsyncTlsStream">TlsStream</a><IO>></h4></section></summary><div class='docblock'>Responses given by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Error-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#47">source</a><a href="#associatedtype.Error-10" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h4></section></summary><div class='docblock'>Errors produced by the created services.</div></details><details class="toggle" open><summary><section id="associatedtype.Config-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#48">source</a><a href="#associatedtype.Config-5" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Service factory configuration.</div></details><details class="toggle" open><summary><section id="associatedtype.Service-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#49">source</a><a href="#associatedtype.Service-5" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Service</a> = <a class="struct" href="native_tls/struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a></h4></section></summary><div class='docblock'>The kind of <code>Service</code> created by this factory.</div></details><details class="toggle" open><summary><section id="associatedtype.InitError-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#50">source</a><a href="#associatedtype.InitError-5" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InitError</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>Errors potentially raised while building a service.</div></details><details class="toggle" open><summary><section id="associatedtype.Future-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#51">source</a><a href="#associatedtype.Future-10" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Future</a> = <a class="struct" href="../../actix_utils/future/ready/struct.Ready.html" title="struct actix_utils::future::ready::Ready">Ready</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="native_tls/struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::Service, <<a class="struct" href="native_tls/struct.TlsConnector.html" title="struct actix_tls::connect::native_tls::TlsConnector">TlsConnector</a> as ServiceFactory<<a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO>>>::InitError>></h4></section></summary><div class='docblock'>The future of the <code>Service</code> instance.g</div></details><details class="toggle method-toggle" open><summary><section id="method.new_service-5" class="method trait-impl"><a class="src rightside" href="../../src/actix_tls/connect/native_tls.rs.html#53-55">source</a><a href="#method.new_service-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">new_service</a>(&self, _: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> Self::Future</h4></section></summary><div class='docblock'>Create and return a new service asynchronously.</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-Connection%3CR,+IO%3E" class="impl"><a href="#impl-Freeze-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO><div class="where">where
|
||
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
|
||
IO: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-Connection%3CR,+IO%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO><div class="where">where
|
||
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
|
||
IO: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-Connection%3CR,+IO%3E" class="impl"><a href="#impl-Send-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO><div class="where">where
|
||
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
|
||
IO: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-Connection%3CR,+IO%3E" class="impl"><a href="#impl-Sync-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO><div class="where">where
|
||
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
IO: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-Connection%3CR,+IO%3E" class="impl"><a href="#impl-Unpin-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO><div class="where">where
|
||
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
|
||
IO: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-Connection%3CR,+IO%3E" class="impl"><a href="#impl-UnwindSafe-for-Connection%3CR,+IO%3E" class="anchor">§</a><h3 class="code-header">impl<R, IO> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Connection.html" title="struct actix_tls::connect::Connection">Connection</a><R, IO><div class="where">where
|
||
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,
|
||
IO: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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-13" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#809">source</a><a href="#associatedtype.Error-13" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/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/nightly/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-12" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#794">source</a><a href="#associatedtype.Error-12" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/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-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a><S>(self, subscriber: S) -> WithDispatch<Self><div class="where">where
|
||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details></div></section></div></main></body></html> |