Enum webview2_sys::WebResourceContext[][src]

#[repr(u32)]
pub enum WebResourceContext {
Show variants All, Document, Stylesheet, Image, Media, Font, Script, XmlHttpRequest, Fetch, TextTrack, EventSource, Websocket, Manifest, SignedExchange, Ping, CspViolationReport, Other,
}

Specifies the web resource request contexts.

Variants

All

Specifies all resources.

Document

Specifies a document resource.

Stylesheet

Specifies a CSS resource.

Image

Specifies an image resource.

Media

Specifies another media resource such as a video.

Font

Specifies a font resource.

Script

Specifies a script resource.

XmlHttpRequest

Specifies an XML HTTP request.

Fetch

Specifies a Fetch API communication.

TextTrack

Specifies a TextTrack resource.

EventSource

Specifies an EventSource API communication.

Websocket

Specifies a WebSocket API communication.

Manifest

Specifies a Web App Manifest.

SignedExchange

Specifies a Signed HTTP Exchange.

Ping

Specifies a Ping request.

CspViolationReport

Specifies a CSP Violation Report.

Other

Specifies an other resource.

Trait Implementations

impl Clone for WebResourceContext[src]

impl Copy for WebResourceContext[src]

impl Debug for WebResourceContext[src]

impl Eq for WebResourceContext[src]

impl PartialEq<WebResourceContext> for WebResourceContext[src]

impl StructuralEq for WebResourceContext[src]

impl StructuralPartialEq for WebResourceContext[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.