[][src]Function sentry::test::with_captured_events_options

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

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

See with_captured_envelopes_options