Trait ffi_toolkit::CodeAndMessage[][src]

pub trait CodeAndMessage {
    fn set_error(
        &mut self,
        code_and_message: (FCPResponseStatus, *const c_char)
    ); }
Expand description

All FFI responses need to implement this trait in order to be able to use catch_panic()

Required methods

fn set_error(&mut self, code_and_message: (FCPResponseStatus, *const c_char))[src]

Set the status code and error message

Implementors