pub fn default(interface: &NetworkInterface) -> Result<Wire, Box<dyn Error>>Expand description
Returns the default wire for current host
Example
let interface = network::get_default_interface().unwrap();
let packet_wire = wire::default(&interface).unwrap();