macro_rules! from { ($from: ty, $for: ty) => { ... }; }
Macro to convert from one network type to another.