pub fn init() -> Option<ClientInitGuard>Expand description
Initialise Sentry from the process environment.
Returns None when no DSN is configured, or when Sentry rejected
the supplied DSN (invalid URL / unsupported scheme). When a guard
is returned, callers MUST keep it alive for the lifetime of the
program — dropping it triggers a flush of pending events.