pub enum WebviewDecision {
Deny,
AllowContent,
AllowDev,
}Expand description
What the shell does to one webview.
Variants§
Deny
Make the webview non-inspectable.
AllowContent
Leave the webview inspectable (a registered content webview under ContentOnly).
AllowDev
Historical developer-inspection decision. Never produced by any gate now: no build makes an app webview inspectable. Kept so existing matches on the decision keep compiling.
Trait Implementations§
Source§impl Clone for WebviewDecision
impl Clone for WebviewDecision
impl Copy for WebviewDecision
Source§impl Debug for WebviewDecision
impl Debug for WebviewDecision
impl Eq for WebviewDecision
Source§impl PartialEq for WebviewDecision
impl PartialEq for WebviewDecision
impl StructuralPartialEq for WebviewDecision
Auto Trait Implementations§
impl Freeze for WebviewDecision
impl RefUnwindSafe for WebviewDecision
impl Send for WebviewDecision
impl Sync for WebviewDecision
impl Unpin for WebviewDecision
impl UnsafeUnpin for WebviewDecision
impl UnwindSafe for WebviewDecision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.