Enum webview2_sys::PermissionKind[][src]

#[repr(u32)]
pub enum PermissionKind {
    UnknownPermission,
    Microphone,
    Camera,
    Geolocation,
    Notifications,
    OtherSensors,
    ClipboardRead,
}

Indicates the type of a permission request.

Variants

UnknownPermission

Indicates an unknown permission.

Microphone

Indicates permission to capture audio.

Camera

Indicates permission to capture video.

Geolocation

Indicates permission to access geolocation.

Notifications

Indicates permission to send web notifications. This permission request is currently auto-rejected and no event is run for it.

OtherSensors

Indicates permission to access generic sensor. Generic Sensor covering ambient-light-sensor, accelerometer, gyroscope, and magnetometer.

ClipboardRead

Indicates permission to read the system clipboard without a user gesture.

Trait Implementations

impl Clone for PermissionKind[src]

impl Copy for PermissionKind[src]

impl Debug for PermissionKind[src]

impl Eq for PermissionKind[src]

impl PartialEq<PermissionKind> for PermissionKind[src]

impl StructuralEq for PermissionKind[src]

impl StructuralPartialEq for PermissionKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.