Home
last modified time | relevance | path

Searched defs:Ipv6Net (Results 1 – 4 of 4) sorted by relevance

/external/rust/android-crates-io/crates/ipnet/src/
Dipnet.rs114 pub struct Ipv6Net { struct
115 addr: Ipv6Addr,
116 prefix_len: u8,
995 impl Ipv6Net { impl
1012 pub const fn new(ip: Ipv6Addr, prefix_len: u8) -> Result<Ipv6Net, PrefixLenError> { in new()
1045 pub const fn new_assert(ip: Ipv6Addr, prefix_len: u8) -> Ipv6Net { in new_assert()
1064 pub fn with_netmask(ip: Ipv6Addr, netmask: Ipv6Addr) -> Result<Ipv6Net, PrefixLenError> { in with_netmask()
1082 pub fn trunc(&self) -> Ipv6Net { in trunc()
1190 pub fn supernet(&self) -> Option<Ipv6Net> { in supernet()
1328 pub fn aggregate(networks: &Vec<Ipv6Net>) -> Vec<Ipv6Net> { in aggregate()
[all …]
Dipnet_schemars.rs43 impl JsonSchema for Ipv6Net { implementation
Dparser.rs277 fn read_ipv6_net(&mut self) -> Option<Ipv6Net> { in read_ipv6_net()
321 impl FromStr for Ipv6Net { implementation
323 fn from_str(s: &str) -> Result<Ipv6Net, AddrParseError> { in from_str()
Dipnet_serde.rs135 impl Serialize for Ipv6Net { implementation
159 impl<'de> Deserialize<'de> for Ipv6Net { implementation