macro_rules! code_and_message_impl {
{ $response:ty } => { ... };
}Expand description
A simple macro to create implementations for the CodeAndMessage trait
The only requirement is that the response has an status_code: FCPResponseStatus and
error_msg: *const libc::c_char field.