pub trait AddressMap {
// Required methods
fn to_inner(&self, outer: u32) -> Option<u32>;
fn to_outer(&mut self, inner: u32) -> Result<u32>;
}Expand description
How the addresses of a network below a RemapLinks read above it. Only
addresses of links are mapped: the null link is the null link on both
sides.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".