[][src]Function dqcsim::bindings::dqcs_plugin_send

#[no_mangle]pub extern "C" fn dqcs_plugin_send(
    plugin: dqcs_plugin_state_t,
    arb: dqcs_handle_t
) -> dqcs_return_t

Sends a message to the host.

It is only legal to call this function from within the run() callback. Any other source will result in an error.

The cmd handle is consumed by this function if and only if it succeeds.