piface 0.1.1

Attempts to determine the default route and gets related interface information
Documentation
1
2
3
4
5
6
7
8
9
//! This library will attempt to determine the local machine's default route to the internet and pull related info
mod error;
pub mod gateway;
pub mod interface;

pub use self::error::Error;
pub use self::gateway::DefaultRoute;
pub use self::interface::PrimaryInterface;
pub type Result<T> = std::result::Result<T, Error>;