-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: improve docstrings in the scion and scion-grpc crates
- Loading branch information
Showing
10 changed files
with
130 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
//! Tools to communicate with the local SCION daemon. | ||
//! Communicate with the local SCION daemon. | ||
//! | ||
//! This module provides a convenient [`DaemonClient`] to communicate with the local [SCION daemon][daemon]. | ||
//! It uses the automatically generated gRPC code in the [scion_grpc] crate. | ||
//! | ||
//! The daemon address can be configured using the environment variable specified in the constant | ||
//! [`DAEMON_ADDRESS_ENV_VARIABLE`] if it differs from the default value stored in | ||
//! [`DEFAULT_DAEMON_ADDRESS`]. | ||
//! | ||
//! [daemon]: https://docs.scion.org/en/latest/manuals/daemon.html | ||
|
||
mod messages; | ||
pub use messages::{AsInfo, PathRequest}; | ||
pub use messages::{AsInfo, PathRequest, PathRequestFlags}; | ||
|
||
pub mod client; | ||
pub use client::{get_daemon_address, DaemonClient, DaemonClientError}; | ||
mod client; | ||
pub use client::{ | ||
get_daemon_address, | ||
DaemonClient, | ||
DaemonClientError, | ||
DAEMON_ADDRESS_ENV_VARIABLE, | ||
DEFAULT_DAEMON_ADDRESS, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters