mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-23 15:49:54 +01:00
Dumb thing
This commit is contained in:
@@ -264,7 +264,7 @@ trait SyncService {
|
|||||||
and the following future-based trait:
|
and the following future-based trait:
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
trait FutureService for HelloServer {
|
trait FutureService {
|
||||||
type HelloFut = IntoFutue<String, Message>;
|
type HelloFut = IntoFutue<String, Message>;
|
||||||
|
|
||||||
fn hello(&mut self, name: String) -> Self::HelloFut;
|
fn hello(&mut self, name: String) -> Self::HelloFut;
|
||||||
|
|||||||
Reference in New Issue
Block a user