[][src]Function sentry_core::test::with_captured_events_options

pub fn with_captured_events_options<F: FnOnce(), O: Into<ClientOptions>>(
    f: F,
    options: O
) -> Vec<Event<'static>>

Runs some code with the default test hub with the given options and returns the captured events.

See with_captured_envelopes_options