pub trait IpAddrLike {
// Required method
fn as_ip_addr(&self) -> IpAddr;
}Expand description
AsIpAddr can be implemented to make an “IP-address-like” type compatible
with BlockedNetworks.
pub trait IpAddrLike {
// Required method
fn as_ip_addr(&self) -> IpAddr;
}AsIpAddr can be implemented to make an “IP-address-like” type compatible
with BlockedNetworks.