[−][src]Function rawsock::open_best_library
pub fn open_best_library() -> Result<Box<dyn Library>, Error>
Opens optimal library available on the platform.
Example
extern crate rawsock; use rawsock::open_best_library; fn main(){ let lib = open_best_library().expect("Could not open any library."); // do something with the library }