[][src]Function viaduct::backend::ffi::callback_holder::set_callback

pub(super) fn set_callback(
    h: unsafe extern "C" fn(_: ByteBuffer) -> ByteBuffer
) -> bool

Set the function pointer to the FetchCallback. Returns false if we did nothing because the callback had already been initialized