[][src]Function sentry::test::with_captured_envelopes

pub fn with_captured_envelopes<F>(f: F) -> Vec<Envelope> where
    F: FnOnce(), 

Runs some code with the default test hub and returns the captured envelopes.

See with_captured_envelopes_options