Expand description
§distant net
§Details
The distant-net library supplies the foundational networking functionality
for the distant interfaces and distant cli.
§Installation
You can import the dependency by adding the following to your Cargo.toml:
[dependencies]
distant-net = "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 client::Client;pub use client::ReconnectStrategy;pub use server::Server;pub use distant_auth as auth;pub use log;pub use paste;
Modules§
Macros§
- boxed_
connect_ handler - Generates a new
ConnectHandlerfor the provided anonymous function in the form of - boxed_
launch_ handler - Generates a new
LaunchHandlerfor the provided anonymous function in the form of - header
- Generates a new
Headerof key/value pairs based on literals. - map
- Generates a new
Mapof key/value pairs based on literals.