pub struct ConsentRevocation(/* private fields */);Expand description
Live revocation switch shared with a running session. Calling Self::revoke makes the
session’s next action fail, without waiting for the app to persist the receipt.
Implementations§
Trait Implementations§
Source§impl Clone for ConsentRevocation
impl Clone for ConsentRevocation
Source§impl Debug for ConsentRevocation
impl Debug for ConsentRevocation
Source§impl Default for ConsentRevocation
impl Default for ConsentRevocation
impl Eq for ConsentRevocation
Auto Trait Implementations§
impl Freeze for ConsentRevocation
impl RefUnwindSafe for ConsentRevocation
impl Send for ConsentRevocation
impl Sync for ConsentRevocation
impl Unpin for ConsentRevocation
impl UnsafeUnpin for ConsentRevocation
impl UnwindSafe for ConsentRevocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more