Posts about macros
The builder pattern, and a macro that keeps FFI code DRY
Making our own ping: Part 6
Our ping API is simple, but it’s also very limited:
pub fn ping(dest: ipv4::Addr) -> Result<(), String> // called as: ping(ipv4::Addr([8, 8, 8, 8])).unwrap();...