pub async fn shutdown_tun_interface(name: &str) -> Result<(), TunError>Expand description
Shutdown and delete a TUN interface by name.
This deletes the interface, which will cause any blocking reads to return an error. Use this for graceful shutdown when the TUN device has been moved to another thread.