pub fn set_user_consent(consent: Consent)
Expand description

Resets the user consent (back to unknown).

Examples

let mut options = Options::new();
options.set_require_user_consent(true);
let _shutdown = options.init()?;

set_user_consent(Consent::Given);
assert_eq!(Consent::Given, user_consent());