pub enum NativeHooks {
Callback,
Unrestricted,
}Expand description
Whether native permission hooks execute for an installed host.
This chooses execution semantics, not a host’s claim of purity or a proof
that checks may be omitted. The plain host setters always select Callback.
Variants§
Callback
Invoke the installed host’s original permission callback.
Unrestricted
Do not invoke native permission callbacks in shared ordinary domain zero. Selection declines in independent nonzero cache domains.
Trait Implementations§
Source§impl Clone for NativeHooks
impl Clone for NativeHooks
impl Copy for NativeHooks
Source§impl Debug for NativeHooks
impl Debug for NativeHooks
Source§impl Default for NativeHooks
impl Default for NativeHooks
impl Eq for NativeHooks
Source§impl PartialEq for NativeHooks
impl PartialEq for NativeHooks
impl StructuralPartialEq for NativeHooks
Auto Trait Implementations§
impl Forget for NativeHooks
impl Freeze for NativeHooks
impl Move for NativeHooks
impl RefUnwindSafe for NativeHooks
impl Send for NativeHooks
impl Sync for NativeHooks
impl Unpin for NativeHooks
impl UnsafeUnpin for NativeHooks
impl UnwindSafe for NativeHooks
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