netaddr2/traits/
mask.rs

1/// Masking one object with another
2pub trait Mask {
3	/// The result of masking
4	type Output;
5
6	/// Perform the mask
7	fn mask(&self, other: &Self) -> Self::Output;
8}
9
10mod ipaddr;
11mod ipv4addr;
12mod ipv6addr;