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
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
DispatchBlocking
Methods
bytes
json
new
send
send
send
text
In graph_http
?
Type Definition
graph_http
::
DispatchBlocking
source
·
[
−
]
pub type DispatchBlocking<T> =
DispatchRequest
<T,
RequestBuilder
>;
Implementations
source
impl<T>
DispatchBlocking
<T>
source
pub fn
new
(
request:
RequestBuilder
,
file:
Option
<
PathBuf
>,
error:
Option
<
GraphFailure
>
) ->
DispatchBlocking
<T>
source
impl<T>
DispatchBlocking
<T>
source
pub fn
json
<U>(self) ->
GraphResult
<
GraphResponse
<U>>
where
for<'de> U:
Deserialize
<'de>,
source
pub fn
text
(self) ->
GraphResult
<
GraphResponse
<
String
>>
source
pub fn
bytes
(self) ->
GraphResult
<
GraphResponse
<
Bytes
>>
source
impl<T>
DispatchBlocking
<T>
where
for<'de> T:
Deserialize
<'de>,
source
pub fn
send
(self) ->
GraphResult
<
GraphResponse
<T>>
source
impl
DispatchBlocking
<
GraphResponse
<
NoContent
>>
source
pub fn
send
(self) ->
GraphResult
<
GraphResponse
<
Value
>>
source
impl
DispatchBlocking
<
UploadSessionClient
<
BlockingHttpClient
>>
source
pub fn
send
(self) ->
GraphResult
<
UploadSessionClient
<
BlockingHttpClient
>>