Crate distant_core
source ·Expand description
distant core
Details
The distant-core
library supplies the client and server interfaces along with
a client implementation for distant. The library exposes an API that downstream
libraries such as distant-local
and distant-ssh2
can implement to provide a
distant-compatible interface.
Installation
You can import the dependency by adding the following to your Cargo.toml
:
[dependencies]
distant-core = "0.20"
License
This project is licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.
Re-exports
pub use distant_net as net;
pub use distant_protocol as protocol;
Structs
- Represents a
ServerHandler
that leverages an API compliant withdistant
- Represents the context provided to the
DistantApi
for incoming requests - Represents credentials used for a distant server that is maintaining a single key across all connections
- Represents the content for LSP data
- Represents the header for LSP data
- Represents some data being communicated to/from an LSP consisting of a header and content part
- A
RemoteProcess
builder providing support to configure before spawning the process on a remote machine - A
RemoteLspProcess
builder providing support to configure before spawning the process on a remote machine - Represents an LSP server process on a remote machine
- A handle to a remote LSP process’ stderr
- A handle to a remote LSP process’ standard input (stdin)
- A handle to a remote LSP process’ standard output (stdout)
- Represents a process on a remote machine
- A handle to the channel to kill a remote process
- A handle to the channel to kill a remote process
- A handle to a remote process’ stderr
- A handle to a remote process’ standard input (stdin)
- A handle to a remote process’ standard output (stdout)
- Represents a searcher for files, directories, and symlinks on the filesystem
- Represents a watcher of some path on a remote machine
Enums
Traits
- Interface to support the suite of functionality available with distant, which can be used to build other servers that are compatible with distant
- Provides convenience functions on top of a
Channel