pub fn new() -> Self {
        let mut options = super::OpenOptions::new();
        options.mode(Mode::Tun);
        OpenOptions { options }
    }
/// Creates a blank new set of options ready for configuration.
///
/// All options are initially set to `false` except read and write.
///
/// # Examples
///
/// ```no_run
/// use utuntap::tun::OpenOptions;
///
/// let mut options = OpenOptions::new();
/// let (file, filename) = options.number(0).open().unwrap();
/// ```
Creates a blank new set of options ready for configuration.
All options are initially set to `false` except read and write.
Creates a blank new set of options ready for configuration . All options are initially set to ` false ` except read and write .
pub fn new() -> Self {
        let mut options = super::OpenOptions::new();
        options.mode(Mode::Tun);
        OpenOptions { options }
    }
pub fn new ( ) -> Self { let mut options = super :: OpenOptions :: new ( ) ; options . mode ( Mode :: Tun ) ; OpenOptions { options } }
Creates a blank new set of options ready for configuration.
Creates a blank new set of options ready for configuration .
examples
```no_run
use utuntap::tun::OpenOptions.

let mut options = OpenOptions::new();
let (file, filename) = options.number(0).open().unwrap();
```
` ` ` no_run use utuntap :: tun :: OpenOptions . let mut options = OpenOptions :: new () ; let ( file filename ) = options . number ( 0 ) . open () . unwrap () ; ` ` `