Struct async_tun::Tun [−][src]
pub struct Tun { /* fields omitted */ }
Expand description
Represents a Tun/Tap device. Use TunBuilder
to create a new instance of Tun
.
Implementations
Returns the IPv4 destination address of MTU.
Returns to Ethernet MAC address.
Splits self to reader and writer pairs.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Tun
impl !UnwindSafe for Tun