Trait rama::net::stream::matcher::ip::IntoIpNet

pub trait IntoIpNet: Sealed {
    // Required method
    fn into_ip_net(self) -> IpNet;
}
Expand description

utility trait to consume a tpe into an IpNet

Required Methods§

fn into_ip_net(self) -> IpNet

Consume self into an IpNet

Implementations on Foreign Types§

§

impl IntoIpNet for IpAddr

§

fn into_ip_net(self) -> IpNet

§

impl IntoIpNet for Ipv4Addr

§

fn into_ip_net(self) -> IpNet

§

impl IntoIpNet for Ipv6Addr

§

fn into_ip_net(self) -> IpNet

§

impl IntoIpNet for [u8; 4]

§

fn into_ip_net(self) -> IpNet

§

impl IntoIpNet for [u8; 16]

§

fn into_ip_net(self) -> IpNet

§

impl IntoIpNet for [u16; 8]

§

fn into_ip_net(self) -> IpNet

Implementors§