pub fn call(&mut self, ctx: context::Context, request: Req) -> Call<Req, Resp> {
        let timeout = ctx.deadline.time_until();
        trace!(
            "[{}] Queuing request with timeout {:?}.",
            ctx.trace_id(),
            timeout,
        );

        Call {
            fut: tokio::time::timeout(timeout, AndThenIdent::new(self.send(ctx, request))),
        }
    }
/// Sends a request to the dispatch task to forward to the server, returning a [`Future`] that
/// resolves to the response.
Sends a request to the dispatch task to forward to the server, returning a [`Future`] that
resolves to the response.
Sends a request to the dispatch task to forward to the server returning a [ ` Future ` ] that resolves to the response .
pub fn call(&mut self, ctx: context::Context, request: Req) -> Call<Req, Resp> {
        let timeout = ctx.deadline.time_until();
        trace!(
            "[{}] Queuing request with timeout {:?}.",
            ctx.trace_id(),
            timeout,
        );
        Call {
            fut: tokio::time::timeout(timeout, AndThenIdent::new(self.send(ctx, request))),
        }
    }
pub fn call ( & mut self , ctx : context :: Context , request : Req ) -> Call < Req , Resp > { let timeout = ctx . deadline . time_until ( ) ; trace ! ( " " ctx trace_id ( ) timeout ) ; Call { fut : tokio :: time :: timeout ( timeout , AndThenIdent :: new ( self . send ( ctx , request ) ) ) , } }
Sends a request to the dispatch task to forward to the server, returning a [`Future`] that
resolves to the response.
Sends a request to the dispatch task to forward to the server returning a [ ` Future ` ] that resolves to the response .
&mut self
ctx
context::Context
request
Req
&mut self
ctx
context::Context
request
Req