summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2022-06-08 12:58:34 +0200
committerNeal H. Walfield <neal@pep.foundation>2022-06-09 14:36:05 +0200
commit76264a9c5a84208998f350ab30b7ef4706ce35d7 (patch)
tree7c526b12e50b8b0297cdf09b5f86146d9849887c
parent200989b3641d2ee47f048a0f55ab32f8c7f64c3b (diff)
ipc: Use full names when referencing external types from public API
- Improve the readability of the generated documentation, by using the full name of external types in public API.
-rw-r--r--ipc/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/ipc/src/lib.rs b/ipc/src/lib.rs
index 70a22615..ce53dedd 100644
--- a/ipc/src/lib.rs
+++ b/ipc/src/lib.rs
@@ -44,8 +44,6 @@ use std::path::PathBuf;
use anyhow::anyhow;
use fs2::FileExt;
-use tokio_util::compat::Compat;
-
use capnp_rpc::{RpcSystem, twoparty};
use capnp_rpc::rpc_twoparty_capnp::Side;
@@ -78,7 +76,7 @@ mod tests;
pub trait Handler {
/// Called on every connection.
fn handle(&self,
- network: twoparty::VatNetwork<Compat<tokio::net::tcp::OwnedReadHalf>>)
+ network: capnp_rpc::twoparty::VatNetwork<tokio_util::compat::Compat<tokio::net::tcp::OwnedReadHalf>>)
-> RpcSystem<Side>;
}