Skip to main content

init

Function init 

Source
pub fn init(
    config: CrashtrackerConfiguration,
    receiver_config: CrashtrackerReceiverConfig,
    metadata: Metadata,
) -> Result<()>
Expand description

Initialize the crash-tracking infrastructure.

PRECONDITIONS: None. SAFETY: Crash-tracking functions are not reentrant. No other crash-handler functions should be called concurrently. ATOMICITY: This function is not atomic. A crash during its execution may lead to unexpected crash-handling behaviour.