Struct tun::Configuration [] [src]

pub struct Configuration { /* fields omitted */ }

Configuration builder for a TUN interface.

Methods

impl Configuration
[src]

Access the platform dependant configuration.

Set the name.

Set the address.

Set the destination address.

Set the broadcast address.

Set the netmask.

Set the MTU.

Set the interface to be enabled once created.

Set the interface to be disabled once created.

Trait Implementations

impl Clone for Configuration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Configuration
[src]

Returns the "default value" for a type. Read more

impl Debug for Configuration
[src]

Formats the value using the given formatter.