distant_core/
client.rs

1use distant_net::client::Channel;
2use distant_net::Client;
3
4use crate::protocol;
5
6mod ext;
7mod lsp;
8mod process;
9mod searcher;
10mod watcher;
11
12/// Represents a [`Client`] that communicates using the distant protocol
13pub type DistantClient =
14    Client<protocol::Msg<protocol::Request>, protocol::Msg<protocol::Response>>;
15
16/// Represents a [`Channel`] that communicates using the distant protocol
17pub type DistantChannel =
18    Channel<protocol::Msg<protocol::Request>, protocol::Msg<protocol::Response>>;
19
20pub use ext::*;
21pub use lsp::*;
22pub use process::*;
23pub use searcher::*;
24pub use watcher::*;