Adding large folders

This commit is contained in:
2026-02-26 12:00:21 -05:00
parent 5400d82acd
commit 49701c85ad
47332 changed files with 1942573 additions and 0 deletions

View File

@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ipnet" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">All</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../ipnet/index.html">ipnet</a><span class="version">2.11.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>List of all items</h1><rustdoc-toolbar></rustdoc-toolbar></div><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.AddrParseError.html">AddrParseError</a></li><li><a href="struct.Ipv4AddrRange.html">Ipv4AddrRange</a></li><li><a href="struct.Ipv4Net.html">Ipv4Net</a></li><li><a href="struct.Ipv4Subnets.html">Ipv4Subnets</a></li><li><a href="struct.Ipv6AddrRange.html">Ipv6AddrRange</a></li><li><a href="struct.Ipv6Net.html">Ipv6Net</a></li><li><a href="struct.Ipv6Subnets.html">Ipv6Subnets</a></li><li><a href="struct.PrefixLenError.html">PrefixLenError</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="enum.IpAddrRange.html">IpAddrRange</a></li><li><a href="enum.IpNet.html">IpNet</a></li><li><a href="enum.IpSubnets.html">IpSubnets</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="trait.IpAdd.html">IpAdd</a></li><li><a href="trait.IpBitAnd.html">IpBitAnd</a></li><li><a href="trait.IpBitOr.html">IpBitOr</a></li><li><a href="trait.IpSub.html">IpSub</a></li></ul><h3 id="functions">Functions</h3><ul class="all-items"><li><a href="fn.ip_mask_to_prefix.html">ip_mask_to_prefix</a></li><li><a href="fn.ipv4_mask_to_prefix.html">ipv4_mask_to_prefix</a></li><li><a href="fn.ipv6_mask_to_prefix.html">ipv6_mask_to_prefix</a></li></ul></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Converts a `IpAddr` network mask into a prefix."><title>ip_mask_to_prefix in ipnet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ipnet" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">ip_mask_to_prefix</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../ipnet/index.html">ipnet</a><span class="version">2.11.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">ip_<wbr>mask_<wbr>to_<wbr>prefix</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#errors" title="Errors">Errors</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate ipnet</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">ipnet</a></div><h1>Function <span class="fn">ip_<wbr>mask_<wbr>to_<wbr>prefix</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ipnet/mask.rs.html#11-16">Source</a> </span></div><pre class="rust item-decl"><code>pub fn ip_mask_to_prefix(mask: <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/enum.IpAddr.html" title="enum core::net::ip_addr::IpAddr">IpAddr</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>, <a class="struct" href="struct.PrefixLenError.html" title="struct ipnet::PrefixLenError">PrefixLenError</a>&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Converts a <code>IpAddr</code> network mask into a prefix.</p>
<h2 id="errors"><a class="doc-anchor" href="#errors">§</a>Errors</h2>
<p>If the mask is invalid this will return an <code>PrefixLenError</code>.</p>
</div></details></section></div></main></body></html>

View File

@@ -0,0 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Converts a `Ipv4Addr` network mask into a prefix."><title>ipv4_mask_to_prefix in ipnet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ipnet" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">ipv4_mask_to_prefix</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../ipnet/index.html">ipnet</a><span class="version">2.11.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">ipv4_<wbr>mask_<wbr>to_<wbr>prefix</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#errors" title="Errors">Errors</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate ipnet</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">ipnet</a></div><h1>Function <span class="fn">ipv4_<wbr>mask_<wbr>to_<wbr>prefix</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ipnet/mask.rs.html#22-31">Source</a> </span></div><pre class="rust item-decl"><code>pub fn ipv4_mask_to_prefix(mask: <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>, <a class="struct" href="struct.PrefixLenError.html" title="struct ipnet::PrefixLenError">PrefixLenError</a>&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Converts a <code>Ipv4Addr</code> network mask into a prefix.</p>
<h2 id="errors"><a class="doc-anchor" href="#errors">§</a>Errors</h2>
<p>If the mask is invalid this will return an <code>PrefixLenError</code>.</p>
</div></details></section></div></main></body></html>

View File

@@ -0,0 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Converts a `Ipv6Addr` network mask into a prefix."><title>ipv6_mask_to_prefix in ipnet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ipnet" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">ipv6_mask_to_prefix</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../ipnet/index.html">ipnet</a><span class="version">2.11.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">ipv6_<wbr>mask_<wbr>to_<wbr>prefix</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#errors" title="Errors">Errors</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate ipnet</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">ipnet</a></div><h1>Function <span class="fn">ipv6_<wbr>mask_<wbr>to_<wbr>prefix</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ipnet/mask.rs.html#37-46">Source</a> </span></div><pre class="rust item-decl"><code>pub fn ipv6_mask_to_prefix(mask: <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>, <a class="struct" href="struct.PrefixLenError.html" title="struct ipnet::PrefixLenError">PrefixLenError</a>&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Converts a <code>Ipv6Addr</code> network mask into a prefix.</p>
<h2 id="errors"><a class="doc-anchor" href="#errors">§</a>Errors</h2>
<p>If the mask is invalid this will return an <code>PrefixLenError</code>.</p>
</div></details></section></div></main></body></html>

View File

@@ -0,0 +1,48 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Types for IPv4 and IPv6 network addresses."><title>ipnet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ipnet" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate ipnet</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../ipnet/index.html">ipnet</a><span class="version">2.11.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#organization" title="Organization">Organization</a></li><li><a href="#serde-support" title="Serde support">Serde support</a></li></ul><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>ipnet</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ipnet/lib.rs.html#1-106">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Types for IPv4 and IPv6 network addresses.</p>
<p>This module provides types and useful methods for working with IPv4
and IPv6 network addresses, commonly called IP prefixes. The new
<a href="enum.IpNet.html"><code>IpNet</code></a>, <a href="struct.Ipv4Net.html"><code>Ipv4Net</code></a>, and <a href="struct.Ipv6Net.html"><code>Ipv6Net</code></a> types build on the existing
<a href="https://doc.rust-lang.org/std/net/enum.IpAddr.html"><code>IpAddr</code></a>, <a href="https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html"><code>Ipv4Addr</code></a>, and <a href="https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html"><code>Ipv6Addr</code></a> types already provided in
Rusts standard library and align to their design to stay
consistent.</p>
<p>The module also provides the <a href="enum.IpSubnets.html"><code>IpSubnets</code></a>, <a href="struct.Ipv4Subnets.html"><code>Ipv4Subnets</code></a>, and
<a href="struct.Ipv6Subnets.html"><code>Ipv6Subnets</code></a> types for iterating over the subnets contained in
an IP address range. The <a href="enum.IpAddrRange.html"><code>IpAddrRange</code></a>, <a href="struct.Ipv4AddrRange.html"><code>Ipv4AddrRange</code></a>, and
<a href="struct.Ipv6AddrRange.html"><code>Ipv6AddrRange</code></a> types for iterating over IP addresses in a range.
And traits that extend <code>Ipv4Addr</code> and <code>Ipv6Addr</code> with methods for
addition, subtraction, bitwise-and, and bitwise-or operations that
are missing in Rusts standard library.</p>
<p>The module only uses stable features so it is guaranteed to compile
using the stable toolchain.</p>
<h2 id="organization"><a class="doc-anchor" href="#organization">§</a>Organization</h2>
<ul>
<li><a href="enum.IpNet.html"><code>IpNet</code></a> represents an IP network address, either IPv4 or IPv6.</li>
<li><a href="struct.Ipv4Net.html"><code>Ipv4Net</code></a> and <a href="struct.Ipv6Net.html"><code>Ipv6Net</code></a> are respectively IPv4 and IPv6 network
addresses.</li>
<li><a href="enum.IpSubnets.html"><code>IpSubnets</code></a>, <a href="struct.Ipv4Subnets.html"><code>Ipv4Subnets</code></a>, and <a href="struct.Ipv6Subnets.html"><code>Ipv6Subnets</code></a> are iterators
that generate the smallest set of IP network addresses bound by an
IP address range and minimum prefix length. These can be created
using their constructors. They are also returned by the
<a href="enum.IpNet.html#method.subnets"><code>subnets()</code></a> methods and used within the <a href="enum.IpNet.html#method.aggregate"><code>aggregate()</code></a> methods.</li>
<li><a href="enum.IpAddrRange.html"><code>IpAddrRange</code></a>, <a href="struct.Ipv4AddrRange.html"><code>Ipv4AddrRange</code></a>, and <a href="struct.Ipv6AddrRange.html"><code>Ipv6AddrRange</code></a> are
iterators that generate IP addresses. These can be created using
their constructors. They are also returned by the <a href="enum.IpNet.html#method.hosts"><code>hosts()</code></a>
methods.</li>
<li>The <a href="trait.IpAdd.html"><code>IpAdd</code></a>, <a href="trait.IpSub.html"><code>IpSub</code></a>, <a href="trait.IpBitAnd.html"><code>IpBitAnd</code></a>, <a href="trait.IpBitOr.html"><code>IpBitOr</code></a> traits extend
the <a href="https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html"><code>Ipv4Addr</code></a> and <a href="https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html"><code>Ipv6Addr</code></a> types with methods to perform
these operations.</li>
</ul>
<h2 id="serde-support"><a class="doc-anchor" href="#serde-support">§</a>Serde support</h2>
<p>This library comes with support for <a href="https://serde.rs">serde</a> but
its not enabled by default. Use the <code>serde</code> <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#the-features-section">feature</a> to enable.</p>
<div class="example-wrap"><pre class="language-toml"><code>[dependencies]
ipnet = { version = &quot;2&quot;, features = [&quot;serde&quot;] }</code></pre></div>
<p>For human readable formats (e.g. JSON) the <code>IpNet</code>, <code>Ipv4Net</code>, and
<code>Ipv6Net</code> types will serialize to their <code>Display</code> strings.</p>
<p>For compact binary formats (e.g. Bincode) the <code>Ipv4Net</code> and
<code>Ipv6Net</code> types will serialize to a string of 5 and 17 bytes that
consist of the network address octects followed by the prefix
length. The <code>IpNet</code> type will serialize to an Enum with the V4 or V6
variant index prepending the above string of 5 or 17 bytes.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AddrParseError.html" title="struct ipnet::AddrParseError">Addr<wbr>Parse<wbr>Error</a></dt><dd>An error which can be returned when parsing an IP network address.</dd><dt><a class="struct" href="struct.Ipv4AddrRange.html" title="struct ipnet::Ipv4AddrRange">Ipv4<wbr>Addr<wbr>Range</a></dt><dd>An <code>Iterator</code> over a range of IPv4 addresses.</dd><dt><a class="struct" href="struct.Ipv4Net.html" title="struct ipnet::Ipv4Net">Ipv4Net</a></dt><dd>An IPv4 network address.</dd><dt><a class="struct" href="struct.Ipv4Subnets.html" title="struct ipnet::Ipv4Subnets">Ipv4<wbr>Subnets</a></dt><dd>An <code>Iterator</code> that generates IPv4 network addresses.</dd><dt><a class="struct" href="struct.Ipv6AddrRange.html" title="struct ipnet::Ipv6AddrRange">Ipv6<wbr>Addr<wbr>Range</a></dt><dd>An <code>Iterator</code> over a range of IPv6 addresses.</dd><dt><a class="struct" href="struct.Ipv6Net.html" title="struct ipnet::Ipv6Net">Ipv6Net</a></dt><dd>An IPv6 network address.</dd><dt><a class="struct" href="struct.Ipv6Subnets.html" title="struct ipnet::Ipv6Subnets">Ipv6<wbr>Subnets</a></dt><dd>An <code>Iterator</code> that generates IPv6 network addresses.</dd><dt><a class="struct" href="struct.PrefixLenError.html" title="struct ipnet::PrefixLenError">Prefix<wbr>LenError</a></dt><dd>An error which can be returned when the prefix length is invalid.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.IpAddrRange.html" title="enum ipnet::IpAddrRange">IpAddr<wbr>Range</a></dt><dd>An <code>Iterator</code> over a range of IP addresses, either IPv4 or IPv6.</dd><dt><a class="enum" href="enum.IpNet.html" title="enum ipnet::IpNet">IpNet</a></dt><dd>An IP network address, either IPv4 or IPv6.</dd><dt><a class="enum" href="enum.IpSubnets.html" title="enum ipnet::IpSubnets">IpSubnets</a></dt><dd>An <code>Iterator</code> that generates IP network addresses, either IPv4 or
IPv6.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.IpAdd.html" title="trait ipnet::IpAdd">IpAdd</a></dt><dd>Provides a <code>saturating_add()</code> method for <code>Ipv4Addr</code> and <code>Ipv6Addr</code>.</dd><dt><a class="trait" href="trait.IpBitAnd.html" title="trait ipnet::IpBitAnd">IpBit<wbr>And</a></dt><dd>Provides a <code>bitand()</code> method for <code>Ipv4Addr</code> and <code>Ipv6Addr</code>.</dd><dt><a class="trait" href="trait.IpBitOr.html" title="trait ipnet::IpBitOr">IpBitOr</a></dt><dd>Provides a <code>bitor()</code> method for <code>Ipv4Addr</code> and <code>Ipv6Addr</code>.</dd><dt><a class="trait" href="trait.IpSub.html" title="trait ipnet::IpSub">IpSub</a></dt><dd>Provides a <code>saturating_sub()</code> method for <code>Ipv4Addr</code> and <code>Ipv6Addr</code>.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.ip_mask_to_prefix.html" title="fn ipnet::ip_mask_to_prefix">ip_<wbr>mask_<wbr>to_<wbr>prefix</a></dt><dd>Converts a <code>IpAddr</code> network mask into a prefix.</dd><dt><a class="fn" href="fn.ipv4_mask_to_prefix.html" title="fn ipnet::ipv4_mask_to_prefix">ipv4_<wbr>mask_<wbr>to_<wbr>prefix</a></dt><dd>Converts a <code>Ipv4Addr</code> network mask into a prefix.</dd><dt><a class="fn" href="fn.ipv6_mask_to_prefix.html" title="fn ipnet::ipv6_mask_to_prefix">ipv6_<wbr>mask_<wbr>to_<wbr>prefix</a></dt><dd>Converts a <code>Ipv6Addr</code> network mask into a prefix.</dd></dl></section></div></main></body></html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/enum.IpAddrRange.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/enum.IpAddrRange.html">../../ipnet/enum.IpAddrRange.html</a>...</p>
<script>location.replace("../../ipnet/enum.IpAddrRange.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.Ipv4AddrRange.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.Ipv4AddrRange.html">../../ipnet/struct.Ipv4AddrRange.html</a>...</p>
<script>location.replace("../../ipnet/struct.Ipv4AddrRange.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.Ipv6AddrRange.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.Ipv6AddrRange.html">../../ipnet/struct.Ipv6AddrRange.html</a>...</p>
<script>location.replace("../../ipnet/struct.Ipv6AddrRange.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/trait.IpAdd.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/trait.IpAdd.html">../../ipnet/trait.IpAdd.html</a>...</p>
<script>location.replace("../../ipnet/trait.IpAdd.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/trait.IpBitAnd.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/trait.IpBitAnd.html">../../ipnet/trait.IpBitAnd.html</a>...</p>
<script>location.replace("../../ipnet/trait.IpBitAnd.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/trait.IpBitOr.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/trait.IpBitOr.html">../../ipnet/trait.IpBitOr.html</a>...</p>
<script>location.replace("../../ipnet/trait.IpBitOr.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/trait.IpSub.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/trait.IpSub.html">../../ipnet/trait.IpSub.html</a>...</p>
<script>location.replace("../../ipnet/trait.IpSub.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/enum.IpNet.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/enum.IpNet.html">../../ipnet/enum.IpNet.html</a>...</p>
<script>location.replace("../../ipnet/enum.IpNet.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/enum.IpSubnets.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/enum.IpSubnets.html">../../ipnet/enum.IpSubnets.html</a>...</p>
<script>location.replace("../../ipnet/enum.IpSubnets.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.Ipv4Net.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.Ipv4Net.html">../../ipnet/struct.Ipv4Net.html</a>...</p>
<script>location.replace("../../ipnet/struct.Ipv4Net.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.Ipv4Subnets.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.Ipv4Subnets.html">../../ipnet/struct.Ipv4Subnets.html</a>...</p>
<script>location.replace("../../ipnet/struct.Ipv4Subnets.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.Ipv6Net.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.Ipv6Net.html">../../ipnet/struct.Ipv6Net.html</a>...</p>
<script>location.replace("../../ipnet/struct.Ipv6Net.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.Ipv6Subnets.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.Ipv6Subnets.html">../../ipnet/struct.Ipv6Subnets.html</a>...</p>
<script>location.replace("../../ipnet/struct.Ipv6Subnets.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.PrefixLenError.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.PrefixLenError.html">../../ipnet/struct.PrefixLenError.html</a>...</p>
<script>location.replace("../../ipnet/struct.PrefixLenError.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/fn.ip_mask_to_prefix.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/fn.ip_mask_to_prefix.html">../../ipnet/fn.ip_mask_to_prefix.html</a>...</p>
<script>location.replace("../../ipnet/fn.ip_mask_to_prefix.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/fn.ipv4_mask_to_prefix.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/fn.ipv4_mask_to_prefix.html">../../ipnet/fn.ipv4_mask_to_prefix.html</a>...</p>
<script>location.replace("../../ipnet/fn.ipv4_mask_to_prefix.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/fn.ipv6_mask_to_prefix.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/fn.ipv6_mask_to_prefix.html">../../ipnet/fn.ipv6_mask_to_prefix.html</a>...</p>
<script>location.replace("../../ipnet/fn.ipv6_mask_to_prefix.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../ipnet/struct.AddrParseError.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../ipnet/struct.AddrParseError.html">../../ipnet/struct.AddrParseError.html</a>...</p>
<script>location.replace("../../ipnet/struct.AddrParseError.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["IpAddrRange","IpNet","IpSubnets"],"fn":["ip_mask_to_prefix","ipv4_mask_to_prefix","ipv6_mask_to_prefix"],"struct":["AddrParseError","Ipv4AddrRange","Ipv4Net","Ipv4Subnets","Ipv6AddrRange","Ipv6Net","Ipv6Subnets","PrefixLenError"],"trait":["IpAdd","IpBitAnd","IpBitOr","IpSub"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Provides a `saturating_add()` method for `Ipv4Addr` and `Ipv6Addr`."><title>IpAdd in ipnet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ipnet" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">IpAdd</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../ipnet/index.html">ipnet</a><span class="version">2.11.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">IpAdd</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Output" title="Output">Output</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.saturating_add" title="saturating_add">saturating_add</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-IpAdd%3Cu32%3E-for-Ipv4Addr" title="Ipv4Addr">Ipv4Addr</a></li><li><a href="#impl-IpAdd%3Cu128%3E-for-Ipv6Addr" title="Ipv6Addr">Ipv6Addr</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate ipnet</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">ipnet</a></div><h1>Trait <span class="trait">IpAdd</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ipnet/ipext.rs.html#48-51">Source</a> </span></div><pre class="rust item-decl"><code>pub trait IpAdd&lt;RHS = Self&gt; {
type <a href="#associatedtype.Output" class="associatedtype">Output</a>;
// Required method
fn <a href="#tymethod.saturating_add" class="fn">saturating_add</a>(self, rhs: RHS) -&gt; Self::<a class="associatedtype" href="trait.IpAdd.html#associatedtype.Output" title="type ipnet::IpAdd::Output">Output</a>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Provides a <code>saturating_add()</code> method for <code>Ipv4Addr</code> and <code>Ipv6Addr</code>.</p>
<p>Adding an integer to an IP address returns the modified IP address.
A <code>u32</code> may added to an IPv4 address and a <code>u128</code> may be added to
an IPv6 address.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::net::{Ipv4Addr, Ipv6Addr};
<span class="kw">use </span>ipnet::IpAdd;
<span class="kw">let </span>ip0: Ipv4Addr = <span class="string">"192.168.0.0"</span>.parse().unwrap();
<span class="kw">let </span>ip1: Ipv4Addr = <span class="string">"192.168.0.5"</span>.parse().unwrap();
<span class="kw">let </span>ip2: Ipv4Addr = <span class="string">"255.255.255.254"</span>.parse().unwrap();
<span class="kw">let </span>max: Ipv4Addr = <span class="string">"255.255.255.255"</span>.parse().unwrap();
<span class="macro">assert_eq!</span>(ip0.saturating_add(<span class="number">5</span>), ip1);
<span class="macro">assert_eq!</span>(ip2.saturating_add(<span class="number">1</span>), max);
<span class="macro">assert_eq!</span>(ip2.saturating_add(<span class="number">5</span>), max);
<span class="kw">let </span>ip0: Ipv6Addr = <span class="string">"fd00::"</span>.parse().unwrap();
<span class="kw">let </span>ip1: Ipv6Addr = <span class="string">"fd00::5"</span>.parse().unwrap();
<span class="kw">let </span>ip2: Ipv6Addr = <span class="string">"ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe"</span>.parse().unwrap();
<span class="kw">let </span>max: Ipv6Addr = <span class="string">"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"</span>.parse().unwrap();
<span class="macro">assert_eq!</span>(ip0.saturating_add(<span class="number">5</span>), ip1);
<span class="macro">assert_eq!</span>(ip2.saturating_add(<span class="number">1</span>), max);
<span class="macro">assert_eq!</span>(ip2.saturating_add(<span class="number">5</span>), max);</code></pre></div></div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Output" class="method"><a class="src rightside" href="../src/ipnet/ipext.rs.html#49">Source</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a></h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.saturating_add" class="method"><a class="src rightside" href="../src/ipnet/ipext.rs.html#50">Source</a><h4 class="code-header">fn <a href="#tymethod.saturating_add" class="fn">saturating_add</a>(self, rhs: RHS) -&gt; Self::<a class="associatedtype" href="trait.IpAdd.html#associatedtype.Output" title="type ipnet::IpAdd::Output">Output</a></h4></section></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-IpAdd%3Cu32%3E-for-Ipv4Addr" class="impl"><a class="src rightside" href="../src/ipnet/ipext.rs.html#184">Source</a><a href="#impl-IpAdd%3Cu32%3E-for-Ipv4Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IpAdd.html" title="trait ipnet::IpAdd">IpAdd</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/ipnet/ipext.rs.html#184">Source</a><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a></h4></section><section id="method.saturating_add" class="method trait-impl"><a class="src rightside" href="../src/ipnet/ipext.rs.html#184">Source</a><a href="#method.saturating_add" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.saturating_add" class="fn">saturating_add</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IpAdd%3Cu128%3E-for-Ipv6Addr" class="impl"><a class="src rightside" href="../src/ipnet/ipext.rs.html#185">Source</a><a href="#impl-IpAdd%3Cu128%3E-for-Ipv6Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IpAdd.html" title="trait ipnet::IpAdd">IpAdd</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u128.html">u128</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/ipnet/ipext.rs.html#185">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a></h4></section><section id="method.saturating_add-1" class="method trait-impl"><a class="src rightside" href="../src/ipnet/ipext.rs.html#185">Source</a><a href="#method.saturating_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.saturating_add" class="fn">saturating_add</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u128.html">u128</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../trait.impl/ipnet/ipext/trait.IpAdd.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long