Struct netsim::iface::UnboundIpv4Iface
[−]
[src]
pub struct UnboundIpv4Iface { /* fields omitted */ }
Represents a TUN device which has been built but not bound to a tokio event loop.
Methods
impl UnboundIpv4Iface
[src]
pub fn bind(self, handle: &Handle) -> Ipv4Iface
[src]
Bind the tap device to the event loop, creating a Ipv4Iface
which you can read/write ethernet
frames with.