core API: MercuryManager.request()

This commit is contained in:
awiouy 2018-02-13 08:24:59 +01:00
parent ea597361ff
commit 0ed4fb1c68

View file

@ -51,7 +51,7 @@ impl MercuryManager {
seq seq
} }
pub fn request(&self, req: MercuryRequest) -> MercuryFuture<MercuryResponse> { fn request(&self, req: MercuryRequest) -> MercuryFuture<MercuryResponse> {
let (tx, rx) = oneshot::channel(); let (tx, rx) = oneshot::channel();
let pending = MercuryPending { let pending = MercuryPending {