Struct dyer::Client [−][src]
pub struct Client;
Expand description
Implementations
this function requires a hyper::Request
and hyper::Client
to return the Response
Poll the Request
, and asynchronously aggregate data from
server.
execute only one Request
for common use.
pub async fn join_all<I>(
i: I
) -> Vec<<<I as IntoIterator>::Item as Future>::Output> where
I: IntoIterator,
I::Item: Future,
pub async fn join_all<I>(
i: I
) -> Vec<<<I as IntoIterator>::Item as Future>::Output> where
I: IntoIterator,
I::Item: Future,
A wrapper of futures’s function block_on
blocking the current thread and execute the future
NOTE that avoid using this if not necessary spawn a task or use join_all instead
A wrapper of futures’s function join_all
execute multiple Request
for common use.
Auto Trait Implementations
impl RefUnwindSafe for Client
impl UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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