Struct graph_http::DispatchRequest
source ·
[−]pub struct DispatchRequest<T, Builder> { /* fields omitted */ }
Implementations
pub fn new(
request: RequestBuilder,
file: Option<PathBuf>,
error: Option<GraphFailure>
) -> DispatchBlocking<T>
pub fn new(
request: RequestBuilder,
file: Option<PathBuf>,
error: Option<GraphFailure>
) -> DispatchAsync<T>
pub async fn json<U>(self) -> GraphResult<GraphResponse<U>> where
for<'de> U: Deserialize<'de>,
Auto Trait Implementations
impl<T, Builder> !RefUnwindSafe for DispatchRequest<T, Builder>
impl<T, Builder> Send for DispatchRequest<T, Builder> where
Builder: Send,
T: Send,
impl<T, Builder> !Sync for DispatchRequest<T, Builder>
impl<T, Builder> Unpin for DispatchRequest<T, Builder> where
Builder: Unpin,
T: Unpin,
impl<T, Builder> !UnwindSafe for DispatchRequest<T, Builder>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more