[−][src]Function sentry_contrib_native::user_consent_give
pub fn user_consent_give()
Gives user consent.
Examples
let mut options = Options::new(); options.set_require_user_consent(true); let _shutdown = options.init()?; user_consent_give(); assert_eq!(Consent::Given, user_consent_get());