]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Web / Http / Diagnostics / mod.rs
1 pub type HttpDiagnosticProvider = *mut ::core::ffi::c_void;
2 pub type HttpDiagnosticProviderRequestResponseCompletedEventArgs = *mut ::core::ffi::c_void;
3 pub type HttpDiagnosticProviderRequestResponseTimestamps = *mut ::core::ffi::c_void;
4 pub type HttpDiagnosticProviderRequestSentEventArgs = *mut ::core::ffi::c_void;
5 pub type HttpDiagnosticProviderResponseReceivedEventArgs = *mut ::core::ffi::c_void;
6 #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"]
7 #[repr(transparent)]
8 pub struct HttpDiagnosticRequestInitiator(pub i32);
9 impl HttpDiagnosticRequestInitiator {
10 pub const ParsedElement: Self = Self(0i32);
11 pub const Script: Self = Self(1i32);
12 pub const Image: Self = Self(2i32);
13 pub const Link: Self = Self(3i32);
14 pub const Style: Self = Self(4i32);
15 pub const XmlHttpRequest: Self = Self(5i32);
16 pub const Media: Self = Self(6i32);
17 pub const HtmlDownload: Self = Self(7i32);
18 pub const Prefetch: Self = Self(8i32);
19 pub const Other: Self = Self(9i32);
20 pub const CrossOriginPreFlight: Self = Self(10i32);
21 pub const Fetch: Self = Self(11i32);
22 pub const Beacon: Self = Self(12i32);
23 }
24 impl ::core::marker::Copy for HttpDiagnosticRequestInitiator {}
25 impl ::core::clone::Clone for HttpDiagnosticRequestInitiator {
26 fn clone(&self) -> Self {
27 *self
28 }
29 }
30 pub type HttpDiagnosticSourceLocation = *mut ::core::ffi::c_void;