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