Docs.rs
graph-http-0.2.2
graph-http 0.2.2
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
sreeise
Dependencies
async-std ^1.6.0
normal
async-trait ^0.1.35
normal
bytes ^1
normal
futures ^0.3
normal
futures-core ^0.3
normal
graph-core ^0.3.0
normal
graph-error ^0.1.2
normal
handlebars ^2.0.2
normal
parking_lot ^0.12.0
normal
percent-encoding ^2
normal
reqwest ^0.11
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.8
normal
thiserror ^1
normal
tokio ^1
normal
url ^2
normal
Versions
0%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
DispatchAsync
Methods
bytes
json
new
send
send
send
text
In graph_http
?
Type Definition
graph_http
::
DispatchAsync
source
·
[
−
]
pub type DispatchAsync<T> =
DispatchRequest
<T,
RequestBuilder
>;
Implementations
source
impl<T>
DispatchAsync
<T>
source
pub fn
new
(
request:
RequestBuilder
,
file:
Option
<
PathBuf
>,
error:
Option
<
GraphFailure
>
) ->
DispatchAsync
<T>
source
impl<T>
DispatchAsync
<T>
source
pub async fn
json
<U>(self) ->
GraphResult
<
GraphResponse
<U>>
where
for<'de> U:
Deserialize
<'de>,
source
pub async fn
text
(self) ->
GraphResult
<
GraphResponse
<
String
>>
source
pub async fn
bytes
(self) ->
GraphResult
<
GraphResponse
<
Bytes
>>
source
impl<T>
DispatchAsync
<T>
where
for<'de> T:
Deserialize
<'de>,
source
pub async fn
send
(self) ->
GraphResult
<
GraphResponse
<T>>
source
impl
DispatchAsync
<
GraphResponse
<
NoContent
>>
source
pub async fn
send
(self) ->
GraphResult
<
GraphResponse
<
Value
>>
source
impl
DispatchAsync
<
UploadSessionClient
<
AsyncHttpClient
>>
source
pub async fn
send
(self) ->
GraphResult
<
UploadSessionClient
<
AsyncHttpClient
>>