netaddr2 0.10.0

A Rust network address parsing and arithmetic library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Masking one object with another
pub trait Mask {
	/// The result of masking
	type Output;

	/// Perform the mask
	fn mask(&self, other: &Self) -> Self::Output;
}

mod ipaddr;
mod ipv4addr;
mod ipv6addr;