pub unsafe extern "C" fn transport_set_startup_func(
    transport: *mut Transport,
    startup_func: Option<StartupFunction>
)
Expand description

Sets the transport startup hook.

This hook is called from within sentry_init and will get a reference to the options which can be used to initialize a transports internal state. It should return 0 on success. A failure will bubble up to sentry_init.