113 lines
48 KiB
HTML
113 lines
48 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="API documentation for the Rust `ClientRequest` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, ClientRequest"><title>actix_web::client::ClientRequest - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../actix_web/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct ClientRequest</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.address">address</a><a href="#method.basic_auth">basic_auth</a><a href="#method.bearer_auth">bearer_auth</a><a href="#method.camel_case">camel_case</a><a href="#method.content_length">content_length</a><a href="#method.content_type">content_type</a><a href="#method.cookie">cookie</a><a href="#method.force_close">force_close</a><a href="#method.freeze">freeze</a><a href="#method.get_method">get_method</a><a href="#method.get_peer_addr">get_peer_addr</a><a href="#method.get_uri">get_uri</a><a href="#method.get_version">get_version</a><a href="#method.header">header</a><a href="#method.headers">headers</a><a href="#method.headers_mut">headers_mut</a><a href="#method.if_some">if_some</a><a href="#method.if_true">if_true</a><a href="#method.method">method</a><a href="#method.no_decompress">no_decompress</a><a href="#method.query">query</a><a href="#method.send">send</a><a href="#method.send_body">send_body</a><a href="#method.send_form">send_form</a><a href="#method.send_json">send_json</a><a href="#method.send_stream">send_stream</a><a href="#method.set">set</a><a href="#method.set_header">set_header</a><a href="#method.set_header_if_none">set_header_if_none</a><a href="#method.timeout">timeout</a><a href="#method.uri">uri</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">!Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a><a href="#impl-VZip%3CV%3E">VZip<V></a></div></div><p class='location'><a href='../index.html'>actix_web</a>::<wbr><a href='index.html'>client</a></p><script>window.sidebarCurrent = {name: 'ClientRequest', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../src/awc/request.rs.html#57-65' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../index.html'>actix_web</a>::<wbr><a href='index.html'>client</a>::<wbr><a class="struct" href=''>ClientRequest</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct ClientRequest { /* fields omitted */ }</pre></div><div class='docblock'><p>An HTTP Client request builder</p>
|
||
<p>This type can be used to construct an instance of <code>ClientRequest</code> through a
|
||
builder-like pattern.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">future</span>::{<span class="ident">Future</span>, <span class="ident">lazy</span>};
|
||
<span class="kw">use</span> <span class="ident">actix_rt</span>::<span class="ident">System</span>;
|
||
|
||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||
<span class="ident">System</span>::<span class="ident">new</span>(<span class="string">"test"</span>).<span class="ident">block_on</span>(<span class="ident">lazy</span>(<span class="op">|</span><span class="op">|</span> {
|
||
<span class="ident">awc</span>::<span class="ident">Client</span>::<span class="ident">new</span>()
|
||
.<span class="ident">get</span>(<span class="string">"http://www.rust-lang.org"</span>) <span class="comment">// <- Create request builder</span>
|
||
.<span class="ident">header</span>(<span class="string">"User-Agent"</span>, <span class="string">"Actix-web"</span>)
|
||
.<span class="ident">send</span>() <span class="comment">// <- Send http request</span>
|
||
.<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> ())
|
||
.<span class="ident">and_then</span>(<span class="op">|</span><span class="ident">response</span><span class="op">|</span> { <span class="comment">// <- server http response</span>
|
||
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"Response: {:?}"</span>, <span class="ident">response</span>);
|
||
<span class="prelude-val">Ok</span>(())
|
||
})
|
||
}));
|
||
}</pre></div>
|
||
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/awc/request.rs.html#67-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.uri' class="method"><code id='uri.v'>pub fn <a href='#method.uri' class='fnname'>uri</a><U>(self, uri: U) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> <a class="struct" href="../../actix_web/http/struct.Uri.html" title="struct actix_web::http::Uri">Uri</a>: <a class="trait" href="../../actix_web/http/trait.HttpTryFrom.html" title="trait actix_web::http::HttpTryFrom">HttpTryFrom</a><U>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#88-97' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set HTTP URI of request.</p>
|
||
</div><h4 id='method.get_uri' class="method"><code id='get_uri.v'>pub fn <a href='#method.get_uri' class='fnname'>get_uri</a>(&self) -> &<a class="struct" href="../../actix_web/http/struct.Uri.html" title="struct actix_web::http::Uri">Uri</a></code><a class='srclink' href='../../src/awc/request.rs.html#100-102' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get HTTP URI of request.</p>
|
||
</div><h4 id='method.address' class="method"><code id='address.v'>pub fn <a href='#method.address' class='fnname'>address</a>(self, addr: <a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#108-111' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set socket address of the server.</p>
|
||
<p>This address is used for connection. If address is not
|
||
provided url's host name get resolved.</p>
|
||
</div><h4 id='method.method' class="method"><code id='method.v'>pub fn <a href='#method.method' class='fnname'>method</a>(self, method: <a class="struct" href="../../actix_web/http/struct.Method.html" title="struct actix_web::http::Method">Method</a>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#115-118' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set HTTP method of this request.</p>
|
||
</div><h4 id='method.get_method' class="method"><code id='get_method.v'>pub fn <a href='#method.get_method' class='fnname'>get_method</a>(&self) -> &<a class="struct" href="../../actix_web/http/struct.Method.html" title="struct actix_web::http::Method">Method</a></code><a class='srclink' href='../../src/awc/request.rs.html#121-123' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get HTTP method of this request</p>
|
||
</div><h4 id='method.get_version' class="method"><code id='get_version.v'>pub fn <a href='#method.get_version' class='fnname'>get_version</a>(&self) -> &<a class="struct" href="../../actix_web/http/struct.Version.html" title="struct actix_web::http::Version">Version</a></code><a class='srclink' href='../../src/awc/request.rs.html#136-138' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get HTTP version of this request.</p>
|
||
</div><h4 id='method.get_peer_addr' class="method"><code id='get_peer_addr.v'>pub fn <a href='#method.get_peer_addr' class='fnname'>get_peer_addr</a>(&self) -> &<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>></code><a class='srclink' href='../../src/awc/request.rs.html#141-143' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get peer address of this request.</p>
|
||
</div><h4 id='method.headers' class="method"><code id='headers.v'>pub fn <a href='#method.headers' class='fnname'>headers</a>(&self) -> &<a class="struct" href="../../actix_web/http/struct.HeaderMap.html" title="struct actix_web::http::HeaderMap">HeaderMap</a></code><a class='srclink' href='../../src/awc/request.rs.html#147-149' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns request's headers.</p>
|
||
</div><h4 id='method.headers_mut' class="method"><code id='headers_mut.v'>pub fn <a href='#method.headers_mut' class='fnname'>headers_mut</a>(&mut self) -> &mut <a class="struct" href="../../actix_web/http/struct.HeaderMap.html" title="struct actix_web::http::HeaderMap">HeaderMap</a></code><a class='srclink' href='../../src/awc/request.rs.html#153-155' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns request's mutable headers.</p>
|
||
</div><h4 id='method.set' class="method"><code id='set.v'>pub fn <a href='#method.set' class='fnname'>set</a><H>(self, hdr: H) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> H: <a class="trait" href="../../actix_web/http/header/trait.Header.html" title="trait actix_web::http::header::Header">Header</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#170-178' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set a header.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||
<span class="kw">let</span> <span class="ident">req</span> <span class="op">=</span> <span class="ident">awc</span>::<span class="ident">Client</span>::<span class="ident">new</span>()
|
||
.<span class="ident">get</span>(<span class="string">"http://www.rust-lang.org"</span>)
|
||
.<span class="ident">set</span>(<span class="ident">awc</span>::<span class="ident">http</span>::<span class="ident">header</span>::<span class="ident">Date</span>::<span class="ident">now</span>())
|
||
.<span class="ident">set</span>(<span class="ident">awc</span>::<span class="ident">http</span>::<span class="ident">header</span>::<span class="ident">ContentType</span>(<span class="ident">mime</span>::<span class="ident">TEXT_HTML</span>));
|
||
}</pre></div>
|
||
</div><h4 id='method.header' class="method"><code id='header.v'>pub fn <a href='#method.header' class='fnname'>header</a><K, V>(self, key: K, value: V) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>,<br> <a class="struct" href="../../actix_web/http/struct.HeaderName.html" title="struct actix_web::http::HeaderName">HeaderName</a>: <a class="trait" href="../../actix_web/http/trait.HttpTryFrom.html" title="trait actix_web::http::HttpTryFrom">HttpTryFrom</a><K>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#198-211' title='goto source code'>[src]</a></h4><div class='docblock'><p>Append a header.</p>
|
||
<p>Header gets appended to existing header.
|
||
To override header use <code>set_header()</code> method.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">use</span> <span class="ident">awc</span>::{<span class="ident">http</span>, <span class="ident">Client</span>};
|
||
|
||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||
<span class="kw">let</span> <span class="ident">req</span> <span class="op">=</span> <span class="ident">Client</span>::<span class="ident">new</span>()
|
||
.<span class="ident">get</span>(<span class="string">"http://www.rust-lang.org"</span>)
|
||
.<span class="ident">header</span>(<span class="string">"X-TEST"</span>, <span class="string">"value"</span>)
|
||
.<span class="ident">header</span>(<span class="ident">http</span>::<span class="ident">header</span>::<span class="ident">CONTENT_TYPE</span>, <span class="string">"application/json"</span>);
|
||
}</pre></div>
|
||
</div><h4 id='method.set_header' class="method"><code id='set_header.v'>pub fn <a href='#method.set_header' class='fnname'>set_header</a><K, V>(self, key: K, value: V) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>,<br> <a class="struct" href="../../actix_web/http/struct.HeaderName.html" title="struct actix_web::http::HeaderName">HeaderName</a>: <a class="trait" href="../../actix_web/http/trait.HttpTryFrom.html" title="trait actix_web::http::HttpTryFrom">HttpTryFrom</a><K>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#214-227' title='goto source code'>[src]</a></h4><div class='docblock'><p>Insert a header, replaces existing header.</p>
|
||
</div><h4 id='method.set_header_if_none' class="method"><code id='set_header_if_none.v'>pub fn <a href='#method.set_header_if_none' class='fnname'>set_header_if_none</a><K, V>(self, key: K, value: V) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> V: <a class="trait" href="../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>,<br> <a class="struct" href="../../actix_web/http/struct.HeaderName.html" title="struct actix_web::http::HeaderName">HeaderName</a>: <a class="trait" href="../../actix_web/http/trait.HttpTryFrom.html" title="trait actix_web::http::HttpTryFrom">HttpTryFrom</a><K>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#230-247' title='goto source code'>[src]</a></h4><div class='docblock'><p>Insert a header only if it is not yet set.</p>
|
||
</div><h4 id='method.camel_case' class="method"><code id='camel_case.v'>pub fn <a href='#method.camel_case' class='fnname'>camel_case</a>(self) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#251-254' title='goto source code'>[src]</a></h4><div class='docblock'><p>Send headers in <code>Camel-Case</code> form.</p>
|
||
</div><h4 id='method.force_close' class="method"><code id='force_close.v'>pub fn <a href='#method.force_close' class='fnname'>force_close</a>(self) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#259-262' title='goto source code'>[src]</a></h4><div class='docblock'><p>Force close connection instead of returning it back to connections pool.
|
||
This setting affect only http/1 connections.</p>
|
||
</div><h4 id='method.content_type' class="method"><code id='content_type.v'>pub fn <a href='#method.content_type' class='fnname'>content_type</a><V>(self, value: V) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> <a class="struct" href="../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>: <a class="trait" href="../../actix_web/http/trait.HttpTryFrom.html" title="trait actix_web::http::HttpTryFrom">HttpTryFrom</a><V>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#266-275' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set request's content type</p>
|
||
</div><h4 id='method.content_length' class="method"><code id='content_length.v'>pub fn <a href='#method.content_length' class='fnname'>content_length</a>(self, len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#279-283' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set content length</p>
|
||
</div><h4 id='method.basic_auth' class="method"><code id='basic_auth.v'>pub fn <a href='#method.basic_auth' class='fnname'>basic_auth</a><U>(self, username: U, password: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#286-298' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set HTTP basic authorization header</p>
|
||
</div><h4 id='method.bearer_auth' class="method"><code id='bearer_auth.v'>pub fn <a href='#method.bearer_auth' class='fnname'>bearer_auth</a><T>(self, token: T) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#301-306' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set HTTP bearer authentication header</p>
|
||
</div><h4 id='method.cookie' class="method"><code id='cookie.v'>pub fn <a href='#method.cookie' class='fnname'>cookie</a>(self, cookie: <a class="struct" href="../../actix_web/http/struct.Cookie.html" title="struct actix_web::http::Cookie">Cookie</a>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#333-342' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set a cookie</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||
<span class="ident">System</span>::<span class="ident">new</span>(<span class="string">"test"</span>).<span class="ident">block_on</span>(<span class="ident">lazy</span>(<span class="op">|</span><span class="op">|</span> {
|
||
<span class="ident">awc</span>::<span class="ident">Client</span>::<span class="ident">new</span>().<span class="ident">get</span>(<span class="string">"https://www.rust-lang.org"</span>)
|
||
.<span class="ident">cookie</span>(
|
||
<span class="ident">awc</span>::<span class="ident">http</span>::<span class="ident">Cookie</span>::<span class="ident">build</span>(<span class="string">"name"</span>, <span class="string">"value"</span>)
|
||
.<span class="ident">domain</span>(<span class="string">"www.rust-lang.org"</span>)
|
||
.<span class="ident">path</span>(<span class="string">"/"</span>)
|
||
.<span class="ident">secure</span>(<span class="bool-val">true</span>)
|
||
.<span class="ident">http_only</span>(<span class="bool-val">true</span>)
|
||
.<span class="ident">finish</span>(),
|
||
)
|
||
.<span class="ident">send</span>()
|
||
.<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> ())
|
||
.<span class="ident">and_then</span>(<span class="op">|</span><span class="ident">response</span><span class="op">|</span> {
|
||
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"Response: {:?}"</span>, <span class="ident">response</span>);
|
||
<span class="prelude-val">Ok</span>(())
|
||
})
|
||
}));
|
||
}</pre></div>
|
||
</div><h4 id='method.no_decompress' class="method"><code id='no_decompress.v'>pub fn <a href='#method.no_decompress' class='fnname'>no_decompress</a>(self) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#345-348' title='goto source code'>[src]</a></h4><div class='docblock'><p>Disable automatic decompress of response's body</p>
|
||
</div><h4 id='method.timeout' class="method"><code id='timeout.v'>pub fn <a href='#method.timeout' class='fnname'>timeout</a>(self, timeout: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#354-357' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set request timeout. Overrides client wide timeout setting.</p>
|
||
<p>Request timeout is the total time before a response must be received.
|
||
Default value is 5 seconds.</p>
|
||
</div><h4 id='method.if_true' class="method"><code id='if_true.v'>pub fn <a href='#method.if_true' class='fnname'>if_true</a><F>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, f: F) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#361-370' title='goto source code'>[src]</a></h4><div class='docblock'><p>This method calls provided closure with builder reference if
|
||
value is <code>true</code>.</p>
|
||
</div><h4 id='method.if_some' class="method"><code id='if_some.v'>pub fn <a href='#method.if_some' class='fnname'>if_some</a><T, F>(self, value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T>, f: F) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(T, <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a>) -> <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#374-383' title='goto source code'>[src]</a></h4><div class='docblock'><p>This method calls provided closure with builder reference if
|
||
value is <code>Some</code>.</p>
|
||
</div><h4 id='method.query' class="method"><code id='query.v'>pub fn <a href='#method.query' class='fnname'>query</a><T>(self, query: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <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="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a>, <a class="enum" href="../../serde_urlencoded/ser/enum.Error.html" title="enum serde_urlencoded::ser::Error">Error</a>> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#386-404' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the query part of the request</p>
|
||
</div><h4 id='method.freeze' class="method"><code id='freeze.v'>pub fn <a href='#method.freeze' class='fnname'>freeze</a>(self) -> <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="../../awc/frozen/struct.FrozenClientRequest.html" title="struct awc::frozen::FrozenClientRequest">FrozenClientRequest</a>, <a class="enum" href="../../actix_http/client/error/enum.FreezeRequestError.html" title="enum actix_http::client::error::FreezeRequestError">FreezeRequestError</a>></code><a class='srclink' href='../../src/awc/request.rs.html#408-423' title='goto source code'>[src]</a></h4><div class='docblock'><p>Freeze request builder and construct <code>FrozenClientRequest</code>,
|
||
which could be used for sending same request multiple times.</p>
|
||
</div><h4 id='method.send_body' class="method"><code id='send_body.v'>pub fn <a href='#method.send_body' class='fnname'>send_body</a><B>(self, body: B) -> <a class="enum" href="../../awc/sender/enum.SendClientRequest.html" title="enum awc::sender::SendClientRequest">SendClientRequest</a> <span class="where fmt-newline">where<br> B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="../../actix_web/dev/enum.Body.html" title="enum actix_web::dev::Body">Body</a>>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#426-442' title='goto source code'>[src]</a></h4><div class='docblock'><p>Complete request construction and send body.</p>
|
||
</div><h4 id='method.send_json' class="method"><code id='send_json.v'>pub fn <a href='#method.send_json' class='fnname'>send_json</a><T>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <a class="enum" href="../../awc/sender/enum.SendClientRequest.html" title="enum awc::sender::SendClientRequest">SendClientRequest</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#445-458' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set a JSON body and generate <code>ClientRequest</code></p>
|
||
</div><h4 id='method.send_form' class="method"><code id='send_form.v'>pub fn <a href='#method.send_form' class='fnname'>send_form</a><T>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <a class="enum" href="../../awc/sender/enum.SendClientRequest.html" title="enum awc::sender::SendClientRequest">SendClientRequest</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a>, </span></code><a class='srclink' href='../../src/awc/request.rs.html#463-476' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set a urlencoded body and generate <code>ClientRequest</code></p>
|
||
<p><code>ClientRequestBuilder</code> can not be used after this call.</p>
|
||
</div><h4 id='method.send_stream' class="method"><code id='send_stream.v'>pub fn <a href='#method.send_stream' class='fnname'>send_stream</a><S, E>(self, stream: S) -> <a class="enum" href="../../awc/sender/enum.SendClientRequest.html" title="enum awc::sender::SendClientRequest">SendClientRequest</a> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../../actix_web/error/struct.Error.html" title="struct actix_web::error::Error">Error</a>> + 'static,<br> S: <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>, Error = E> + 'static, </span></code><a class='srclink' href='../../src/awc/request.rs.html#479-496' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set an streaming body and generate <code>ClientRequest</code>.</p>
|
||
</div><h4 id='method.send' class="method"><code id='send.v'>pub fn <a href='#method.send' class='fnname'>send</a>(self) -> <a class="enum" href="../../awc/sender/enum.SendClientRequest.html" title="enum awc::sender::SendClientRequest">SendClientRequest</a></code><a class='srclink' href='../../src/awc/request.rs.html#499-511' title='goto source code'>[src]</a></h4><div class='docblock'><p>Set an empty body and generate <code>ClientRequest</code>.</p>
|
||
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <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="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/awc/request.rs.html#580-593' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>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="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>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code><a class='srclink' href='../../src/awc/request.rs.html#581-592' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>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></p>
|
||
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Send' class='impl'><code class='in-band'>impl !<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="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl !<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="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <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="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../actix_web/client/struct.ClientRequest.html" title="struct actix_web::client::ClientRequest">ClientRequest</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Any' class='impl'><code class='in-band'>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 <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#108-112' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>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></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#109-111' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>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></p>
|
||
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>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 <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-217' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-216' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>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 <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#220-224' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221-223' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>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></p>
|
||
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>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</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#564-568' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#565-567' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>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 <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#553-560' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#557-559' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>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 <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#601-610' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>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="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#607-609' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>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 <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#587-596' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">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="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>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="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#593-595' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-VZip%3CV%3E' class='impl'><code class='in-band'>impl<V, T> <a class="trait" href="../../ppv_lite86/types/types/trait.VZip.html" title="trait ppv_lite86::types::types::VZip">VZip</a><V> for T <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><T>, </span></code><a href='#impl-VZip%3CV%3E' class='anchor'></a><a class='srclink' href='../../src/ppv_lite86/types.rs.html#212-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.vzip' class="method hidden"><code id='vzip.v'>fn <a href='../../ppv_lite86/types/types/trait.VZip.html#tymethod.vzip' class='fnname'>vzip</a>(self) -> V</code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#217-219' title='goto source code'>[src]</a></h4></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "actix_web";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |