mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-31 08:33:51 +01:00
Require a static lifetime for request_name.
This commit is contained in:
@@ -124,7 +124,7 @@ impl<Req, Resp> Channel<Req, Resp> {
|
||||
pub async fn call(
|
||||
&self,
|
||||
mut ctx: context::Context,
|
||||
request_name: &str,
|
||||
request_name: &'static str,
|
||||
request: Req,
|
||||
) -> Result<Resp, RpcError> {
|
||||
let span = Span::current();
|
||||
|
||||
Reference in New Issue
Block a user