[−][src]Function sentry_core::test::with_captured_envelopes
pub fn with_captured_envelopes<F: FnOnce()>(f: F) -> Vec<Envelope>
Runs some code with the default test hub and returns the captured envelopes.
pub fn with_captured_envelopes<F: FnOnce()>(f: F) -> Vec<Envelope>
Runs some code with the default test hub and returns the captured envelopes.