Struct libarp::client::ArpClient [−][src]
pub struct ArpClient { /* fields omitted */ }
Implementations
impl ArpClient
[src]
impl ArpClient
[src]pub fn new() -> Self
[src]
pub fn new_with_iface(interface: &Interface) -> Self
[src]
pub fn ip_to_mac(
&mut self,
ip_addr: Ipv4Addr,
timeout: Option<Duration>
) -> Result<MacAddr, Error>
[src]
&mut self,
ip_addr: Ipv4Addr,
timeout: Option<Duration>
) -> Result<MacAddr, Error>
pub fn mac_to_ip(
&mut self,
mac_addr: MacAddr,
timeout: Option<Duration>
) -> Result<Ipv4Addr, Error>
[src]
&mut self,
mac_addr: MacAddr,
timeout: Option<Duration>
) -> Result<Ipv4Addr, Error>