| <!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 `FlightServiceImpl` struct in crate `arrow_integration_testing`."><title>FlightServiceImpl in arrow_integration_testing::flight_server_scenarios::integration_test - 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-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="arrow_integration_testing" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (8c127df75 2024-05-16)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../arrow_integration_testing/index.html">arrow_integration_testing</a><span class="version">51.0.0</span></h2></div><h2 class="location"><a href="#">FlightServiceImpl</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.server_location">server_location</a></li><li><a href="#structfield.uploaded_chunks">uploaded_chunks</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.endpoint_from_path">endpoint_from_path</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-FlightServiceImpl">Clone</a></li><li><a href="#impl-Default-for-FlightServiceImpl">Default</a></li><li><a href="#impl-FlightService-for-FlightServiceImpl">FlightService</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-FlightServiceImpl">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-FlightServiceImpl">!UnwindSafe</a></li><li><a href="#impl-Freeze-for-FlightServiceImpl">Freeze</a></li><li><a href="#impl-Send-for-FlightServiceImpl">Send</a></li><li><a href="#impl-Sync-for-FlightServiceImpl">Sync</a></li><li><a href="#impl-Unpin-for-FlightServiceImpl">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-FromRef%3CT%3E-for-T">FromRef<T></a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-IntoRequest%3CT%3E-for-T">IntoRequest<T></a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-Ungil-for-T">Ungil</a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In arrow_integration_testing::flight_server_scenarios::integration_test</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../../index.html">arrow_integration_testing</a>::<wbr><a href="../index.html">flight_server_scenarios</a>::<wbr><a href="index.html">integration_test</a>::<wbr><a class="struct" href="#">FlightServiceImpl</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#69-72">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct FlightServiceImpl { |
| server_location: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, |
| uploaded_chunks: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Mutex<<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="struct.IntegrationDataset.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::IntegrationDataset">IntegrationDataset</a>>>>, |
| }</code></pre><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.server_location" class="structfield section-header"><a href="#structfield.server_location" class="anchor field">§</a><code>server_location: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><span id="structfield.uploaded_chunks" class="structfield section-header"><a href="#structfield.uploaded_chunks" class="anchor field">§</a><code>uploaded_chunks: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Mutex<<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="struct.IntegrationDataset.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::IntegrationDataset">IntegrationDataset</a>>>></code></span><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-FlightServiceImpl" class="impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#74-78">source</a><a href="#impl-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section></summary><div class="impl-items"><section id="method.endpoint_from_path" class="method"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#75-77">source</a><h4 class="code-header">fn <a href="#method.endpoint_from_path" class="fn">endpoint_from_path</a>(&self, path: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> FlightEndpoint</h4></section></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-Clone-for-FlightServiceImpl" class="impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#68">source</a><a href="#impl-Clone-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#68">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-FlightServiceImpl" class="impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#68">source</a><a href="#impl-Default-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#68">source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FlightService-for-FlightServiceImpl" class="impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#81-281">source</a><a href="#impl-FlightService-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">impl FlightService for <a class="struct" href="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.HandshakeStream" class="associatedtype trait-impl"><a href="#associatedtype.HandshakeStream" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">HandshakeStream</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 Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><HandshakeResponse, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class='docblock'>Server streaming response type for the Handshake method.</div></details><details class="toggle" open><summary><section id="associatedtype.ListFlightsStream" class="associatedtype trait-impl"><a href="#associatedtype.ListFlightsStream" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">ListFlightsStream</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 Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><FlightInfo, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class='docblock'>Server streaming response type for the ListFlights method.</div></details><details class="toggle" open><summary><section id="associatedtype.DoGetStream" class="associatedtype trait-impl"><a href="#associatedtype.DoGetStream" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">DoGetStream</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 Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><FlightData, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class='docblock'>Server streaming response type for the DoGet method.</div></details><details class="toggle" open><summary><section id="associatedtype.DoPutStream" class="associatedtype trait-impl"><a href="#associatedtype.DoPutStream" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">DoPutStream</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 Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><PutResult, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class='docblock'>Server streaming response type for the DoPut method.</div></details><details class="toggle" open><summary><section id="associatedtype.DoActionStream" class="associatedtype trait-impl"><a href="#associatedtype.DoActionStream" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">DoActionStream</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 Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Result, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class='docblock'>Server streaming response type for the DoAction method.</div></details><details class="toggle" open><summary><section id="associatedtype.ListActionsStream" class="associatedtype trait-impl"><a href="#associatedtype.ListActionsStream" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">ListActionsStream</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 Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><ActionType, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class='docblock'>Server streaming response type for the ListActions method.</div></details><details class="toggle" open><summary><section id="associatedtype.DoExchangeStream" class="associatedtype trait-impl"><a href="#associatedtype.DoExchangeStream" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">DoExchangeStream</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 Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><FlightData, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class='docblock'>Server streaming response type for the DoExchange method.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_schema" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#90-95">source</a><a href="#method.get_schema" class="anchor">§</a><h4 class="code-header">fn <a class="fn">get_schema</a><'life0, 'async_trait>( |
| &'life0 self, |
| _request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><FlightDescriptor> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><SchemaResult>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>For a given FlightDescriptor, get the Schema as described in Schema.fbs::Schema |
| This is used when a consumer needs the Schema of flight stream. Similar to |
| GetFlightInfo this interface may generate a new flight that was not previously |
| available in ListFlights.</div></details><details class="toggle method-toggle" open><summary><section id="method.do_get" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#97-143">source</a><a href="#method.do_get" class="anchor">§</a><h4 class="code-header">fn <a class="fn">do_get</a><'life0, 'async_trait>( |
| &'life0 self, |
| request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><Ticket> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><Self::DoGetStream>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>Retrieve a single stream associated with a particular descriptor |
| associated with the referenced ticket. A Flight can be composed of one or |
| more streams where each stream can be retrieved using a separate opaque |
| ticket that the flight service uses for managing a collection of streams.</div></details><details class="toggle method-toggle" open><summary><section id="method.handshake" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#145-150">source</a><a href="#method.handshake" class="anchor">§</a><h4 class="code-header">fn <a class="fn">handshake</a><'life0, 'async_trait>( |
| &'life0 self, |
| _request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><<a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/codec/decode/struct.Streaming.html" title="struct tonic::codec::decode::Streaming">Streaming</a><HandshakeRequest>> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><Self::HandshakeStream>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>Handshake between client and server. Depending on the server, the |
| handshake may be required to determine the token that should be used for |
| future operations. Both request and response are streams to allow multiple |
| round-trips depending on auth mechanism.</div></details><details class="toggle method-toggle" open><summary><section id="method.list_flights" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#152-157">source</a><a href="#method.list_flights" class="anchor">§</a><h4 class="code-header">fn <a class="fn">list_flights</a><'life0, 'async_trait>( |
| &'life0 self, |
| _request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><Criteria> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><Self::ListFlightsStream>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>Get a list of available streams given a particular criteria. Most flight |
| services will expose one or more streams that are readily available for |
| retrieval. This api allows listing the streams available for |
| consumption. A user can also provide a criteria. The criteria can limit |
| the subset of streams that can be listed via this interface. Each flight |
| service allows its own definition of how to consume criteria.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_flight_info" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#159-204">source</a><a href="#method.get_flight_info" class="anchor">§</a><h4 class="code-header">fn <a class="fn">get_flight_info</a><'life0, 'async_trait>( |
| &'life0 self, |
| request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><FlightDescriptor> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><FlightInfo>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>For a given FlightDescriptor, get information about how the flight can be |
| consumed. This is a useful interface if the consumer of the interface |
| already can identify the specific flight to consume. This interface can |
| also allow a consumer to generate a flight stream through a specified |
| descriptor. For example, a flight descriptor might be something that |
| includes a SQL statement or a Pickled Python operation that will be |
| executed. In those cases, the descriptor will not be previously available |
| within the list of available streams provided by ListFlights but will be |
| available for consumption for the duration defined by the specific flight |
| service.</div></details><details class="toggle method-toggle" open><summary><section id="method.poll_flight_info" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#206-211">source</a><a href="#method.poll_flight_info" class="anchor">§</a><h4 class="code-header">fn <a class="fn">poll_flight_info</a><'life0, 'async_trait>( |
| &'life0 self, |
| _request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><FlightDescriptor> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><PollInfo>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>For a given FlightDescriptor, start a query and get information |
| to poll its execution status. This is a useful interface if the |
| query may be a long-running query. The first PollFlightInfo call |
| should return as quickly as possible. (GetFlightInfo doesn’t |
| return until the query is complete.) <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.do_put" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#213-259">source</a><a href="#method.do_put" class="anchor">§</a><h4 class="code-header">fn <a class="fn">do_put</a><'life0, 'async_trait>( |
| &'life0 self, |
| request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><<a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/codec/decode/struct.Streaming.html" title="struct tonic::codec::decode::Streaming">Streaming</a><FlightData>> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><Self::DoPutStream>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>Push a stream to the flight service associated with a particular |
| flight stream. This allows a client of a flight service to upload a stream |
| of data. Depending on the particular flight service, a client consumer |
| could be allowed to upload a single stream per descriptor or an unlimited |
| number. In the latter, the service might implement a ‘seal’ action that |
| can be applied to a descriptor once all streams are uploaded.</div></details><details class="toggle method-toggle" open><summary><section id="method.do_action" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#261-266">source</a><a href="#method.do_action" class="anchor">§</a><h4 class="code-header">fn <a class="fn">do_action</a><'life0, 'async_trait>( |
| &'life0 self, |
| _request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><Action> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><Self::DoActionStream>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>Flight services can support an arbitrary number of simple actions in |
| addition to the possible ListFlights, GetFlightInfo, DoGet, DoPut |
| operations that are potentially available. DoAction allows a flight client |
| to do a specific action against a flight service. An action includes |
| opaque request and response objects that are specific to the type action |
| being undertaken.</div></details><details class="toggle method-toggle" open><summary><section id="method.list_actions" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#268-273">source</a><a href="#method.list_actions" class="anchor">§</a><h4 class="code-header">fn <a class="fn">list_actions</a><'life0, 'async_trait>( |
| &'life0 self, |
| _request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><Empty> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><Self::ListActionsStream>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>A flight service exposes all of the available action types that it has |
| along with descriptions. This allows different flight consumers to |
| understand the capabilities of the flight service.</div></details><details class="toggle method-toggle" open><summary><section id="method.do_exchange" class="method trait-impl"><a class="src rightside" href="../../../src/arrow_integration_testing/flight_server_scenarios/integration_test.rs.html#275-280">source</a><a href="#method.do_exchange" class="anchor">§</a><h4 class="code-header">fn <a class="fn">do_exchange</a><'life0, 'async_trait>( |
| &'life0 self, |
| _request: <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><<a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/codec/decode/struct.Streaming.html" title="struct tonic::codec::decode::Streaming">Streaming</a><FlightData>> |
| ) -> <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="https://docs.rs/tonic/0.11.0/tonic/response/struct.Response.html" title="struct tonic::response::Response">Response</a><Self::DoExchangeStream>, <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/status/struct.Status.html" title="struct tonic::status::Status">Status</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where |
| Self: 'async_trait, |
| 'life0: 'async_trait,</div></h4></section></summary><div class='docblock'>Open a bidirectional data channel for a given descriptor. This |
| allows clients to send and receive arbitrary Arrow data and |
| application-specific metadata in a single logical stream. In |
| contrast to DoGet/DoPut, this is more suited for clients |
| offloading computation (rather than storage) to a Flight service.</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-FlightServiceImpl" class="impl"><a href="#impl-Freeze-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">impl <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.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section><section id="impl-RefUnwindSafe-for-FlightServiceImpl" class="impl"><a href="#impl-RefUnwindSafe-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">impl !<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.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section><section id="impl-Send-for-FlightServiceImpl" class="impl"><a href="#impl-Send-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">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="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section><section id="impl-Sync-for-FlightServiceImpl" class="impl"><a href="#impl-Sync-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">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="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section><section id="impl-Unpin-for-FlightServiceImpl" class="impl"><a href="#impl-Unpin-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">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="struct.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section><section id="impl-UnwindSafe-for-FlightServiceImpl" class="impl"><a href="#impl-UnwindSafe-for-FlightServiceImpl" class="anchor">§</a><h3 class="code-header">impl !<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.FlightServiceImpl.html" title="struct arrow_integration_testing::flight_server_scenarios::integration_test::FlightServiceImpl">FlightServiceImpl</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">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#141">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#208">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#210">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#216">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#217">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-FromRef%3CT%3E-for-T" class="impl"><a href="#impl-FromRef%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> FromRef<T> for T<div class="where">where |
| T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_ref" class="method trait-impl"><a href="#method.from_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_ref</a>(input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a>) -> T</h4></section></summary><div class='docblock'>Converts to this type from a reference to the input type.</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-IntoRequest%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/tonic/0.11.0/src/tonic/request.rs.html#355">source</a><a href="#impl-IntoRequest%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/tonic/0.11.0/tonic/request/trait.IntoRequest.html" title="trait tonic::request::IntoRequest">IntoRequest</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_request" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tonic/0.11.0/src/tonic/request.rs.html#356">source</a><a href="#method.into_request" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tonic/0.11.0/tonic/request/trait.IntoRequest.html#tymethod.into_request" class="fn">into_request</a>(self) -> <a class="struct" href="https://docs.rs/tonic/0.11.0/tonic/request/struct.Request.html" title="struct tonic::request::Request">Request</a><T></h4></section></summary><div class='docblock'>Wrap the input message <code>T</code> in a <code>tonic::Request</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#83-85">source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where |
| T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#88">source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#92">source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></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-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" 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" class="associatedtype trait-impl"><a href="#associatedtype.Error" 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-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<div class="where">where |
| V: MultiLane<T>,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></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><section id="impl-Ungil-for-T" class="impl"><a href="#impl-Ungil-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Ungil for T<div class="where">where |
| T: <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></div></section></div></main></body></html> |