diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Web/Http | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Web/Http')
4 files changed, 0 insertions, 284 deletions
diff --git a/vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs deleted file mode 100644 index 7515d0203..000000000 --- a/vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs +++ /dev/null @@ -1,30 +0,0 @@ -pub type HttpDiagnosticProvider = *mut ::core::ffi::c_void; -pub type HttpDiagnosticProviderRequestResponseCompletedEventArgs = *mut ::core::ffi::c_void; -pub type HttpDiagnosticProviderRequestResponseTimestamps = *mut ::core::ffi::c_void; -pub type HttpDiagnosticProviderRequestSentEventArgs = *mut ::core::ffi::c_void; -pub type HttpDiagnosticProviderResponseReceivedEventArgs = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] -#[repr(transparent)] -pub struct HttpDiagnosticRequestInitiator(pub i32); -impl HttpDiagnosticRequestInitiator { - pub const ParsedElement: Self = Self(0i32); - pub const Script: Self = Self(1i32); - pub const Image: Self = Self(2i32); - pub const Link: Self = Self(3i32); - pub const Style: Self = Self(4i32); - pub const XmlHttpRequest: Self = Self(5i32); - pub const Media: Self = Self(6i32); - pub const HtmlDownload: Self = Self(7i32); - pub const Prefetch: Self = Self(8i32); - pub const Other: Self = Self(9i32); - pub const CrossOriginPreFlight: Self = Self(10i32); - pub const Fetch: Self = Self(11i32); - pub const Beacon: Self = Self(12i32); -} -impl ::core::marker::Copy for HttpDiagnosticRequestInitiator {} -impl ::core::clone::Clone for HttpDiagnosticRequestInitiator { - fn clone(&self) -> Self { - *self - } -} -pub type HttpDiagnosticSourceLocation = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Http/Filters/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/Filters/mod.rs deleted file mode 100644 index f48fcbfff..000000000 --- a/vendor/windows-sys/src/Windows/Web/Http/Filters/mod.rs +++ /dev/null @@ -1,45 +0,0 @@ -pub type HttpBaseProtocolFilter = *mut ::core::ffi::c_void; -pub type HttpCacheControl = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http_Filters\"`*"] -#[repr(transparent)] -pub struct HttpCacheReadBehavior(pub i32); -impl HttpCacheReadBehavior { - pub const Default: Self = Self(0i32); - pub const MostRecent: Self = Self(1i32); - pub const OnlyFromCache: Self = Self(2i32); - pub const NoCache: Self = Self(3i32); -} -impl ::core::marker::Copy for HttpCacheReadBehavior {} -impl ::core::clone::Clone for HttpCacheReadBehavior { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Web_Http_Filters\"`*"] -#[repr(transparent)] -pub struct HttpCacheWriteBehavior(pub i32); -impl HttpCacheWriteBehavior { - pub const Default: Self = Self(0i32); - pub const NoCache: Self = Self(1i32); -} -impl ::core::marker::Copy for HttpCacheWriteBehavior {} -impl ::core::clone::Clone for HttpCacheWriteBehavior { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Web_Http_Filters\"`*"] -#[repr(transparent)] -pub struct HttpCookieUsageBehavior(pub i32); -impl HttpCookieUsageBehavior { - pub const Default: Self = Self(0i32); - pub const NoCookies: Self = Self(1i32); -} -impl ::core::marker::Copy for HttpCookieUsageBehavior {} -impl ::core::clone::Clone for HttpCookieUsageBehavior { - fn clone(&self) -> Self { - *self - } -} -pub type HttpServerCustomValidationRequestedEventArgs = *mut ::core::ffi::c_void; -pub type IHttpFilter = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Http/Headers/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/Headers/mod.rs deleted file mode 100644 index cd228a2b8..000000000 --- a/vendor/windows-sys/src/Windows/Web/Http/Headers/mod.rs +++ /dev/null @@ -1,33 +0,0 @@ -pub type HttpCacheDirectiveHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpChallengeHeaderValue = *mut ::core::ffi::c_void; -pub type HttpChallengeHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpConnectionOptionHeaderValue = *mut ::core::ffi::c_void; -pub type HttpConnectionOptionHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpContentCodingHeaderValue = *mut ::core::ffi::c_void; -pub type HttpContentCodingHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpContentCodingWithQualityHeaderValue = *mut ::core::ffi::c_void; -pub type HttpContentCodingWithQualityHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpContentDispositionHeaderValue = *mut ::core::ffi::c_void; -pub type HttpContentHeaderCollection = *mut ::core::ffi::c_void; -pub type HttpContentRangeHeaderValue = *mut ::core::ffi::c_void; -pub type HttpCookiePairHeaderValue = *mut ::core::ffi::c_void; -pub type HttpCookiePairHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpCredentialsHeaderValue = *mut ::core::ffi::c_void; -pub type HttpDateOrDeltaHeaderValue = *mut ::core::ffi::c_void; -pub type HttpExpectationHeaderValue = *mut ::core::ffi::c_void; -pub type HttpExpectationHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpLanguageHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpLanguageRangeWithQualityHeaderValue = *mut ::core::ffi::c_void; -pub type HttpLanguageRangeWithQualityHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpMediaTypeHeaderValue = *mut ::core::ffi::c_void; -pub type HttpMediaTypeWithQualityHeaderValue = *mut ::core::ffi::c_void; -pub type HttpMediaTypeWithQualityHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpMethodHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpNameValueHeaderValue = *mut ::core::ffi::c_void; -pub type HttpProductHeaderValue = *mut ::core::ffi::c_void; -pub type HttpProductInfoHeaderValue = *mut ::core::ffi::c_void; -pub type HttpProductInfoHeaderValueCollection = *mut ::core::ffi::c_void; -pub type HttpRequestHeaderCollection = *mut ::core::ffi::c_void; -pub type HttpResponseHeaderCollection = *mut ::core::ffi::c_void; -pub type HttpTransferCodingHeaderValue = *mut ::core::ffi::c_void; -pub type HttpTransferCodingHeaderValueCollection = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Http/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/mod.rs deleted file mode 100644 index 7645d540d..000000000 --- a/vendor/windows-sys/src/Windows/Web/Http/mod.rs +++ /dev/null @@ -1,176 +0,0 @@ -#[cfg(feature = "Web_Http_Diagnostics")] -pub mod Diagnostics; -#[cfg(feature = "Web_Http_Filters")] -pub mod Filters; -#[cfg(feature = "Web_Http_Headers")] -pub mod Headers; -pub type HttpBufferContent = *mut ::core::ffi::c_void; -pub type HttpClient = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpCompletionOption(pub i32); -impl HttpCompletionOption { - pub const ResponseContentRead: Self = Self(0i32); - pub const ResponseHeadersRead: Self = Self(1i32); -} -impl ::core::marker::Copy for HttpCompletionOption {} -impl ::core::clone::Clone for HttpCompletionOption { - fn clone(&self) -> Self { - *self - } -} -pub type HttpCookie = *mut ::core::ffi::c_void; -pub type HttpCookieCollection = *mut ::core::ffi::c_void; -pub type HttpCookieManager = *mut ::core::ffi::c_void; -pub type HttpFormUrlEncodedContent = *mut ::core::ffi::c_void; -pub type HttpGetBufferResult = *mut ::core::ffi::c_void; -pub type HttpGetInputStreamResult = *mut ::core::ffi::c_void; -pub type HttpGetStringResult = *mut ::core::ffi::c_void; -pub type HttpMethod = *mut ::core::ffi::c_void; -pub type HttpMultipartContent = *mut ::core::ffi::c_void; -pub type HttpMultipartFormDataContent = *mut ::core::ffi::c_void; -#[repr(C)] -#[doc = "*Required features: `\"Web_Http\"`, `\"Foundation\"`*"] -#[cfg(feature = "Foundation")] -pub struct HttpProgress { - pub Stage: HttpProgressStage, - pub BytesSent: u64, - pub TotalBytesToSend: super::super::Foundation::IReference, - pub BytesReceived: u64, - pub TotalBytesToReceive: super::super::Foundation::IReference, - pub Retries: u32, -} -#[cfg(feature = "Foundation")] -impl ::core::marker::Copy for HttpProgress {} -#[cfg(feature = "Foundation")] -impl ::core::clone::Clone for HttpProgress { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpProgressStage(pub i32); -impl HttpProgressStage { - pub const None: Self = Self(0i32); - pub const DetectingProxy: Self = Self(10i32); - pub const ResolvingName: Self = Self(20i32); - pub const ConnectingToServer: Self = Self(30i32); - pub const NegotiatingSsl: Self = Self(40i32); - pub const SendingHeaders: Self = Self(50i32); - pub const SendingContent: Self = Self(60i32); - pub const WaitingForResponse: Self = Self(70i32); - pub const ReceivingHeaders: Self = Self(80i32); - pub const ReceivingContent: Self = Self(90i32); -} -impl ::core::marker::Copy for HttpProgressStage {} -impl ::core::clone::Clone for HttpProgressStage { - fn clone(&self) -> Self { - *self - } -} -pub type HttpRequestMessage = *mut ::core::ffi::c_void; -pub type HttpRequestResult = *mut ::core::ffi::c_void; -pub type HttpResponseMessage = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpResponseMessageSource(pub i32); -impl HttpResponseMessageSource { - pub const None: Self = Self(0i32); - pub const Cache: Self = Self(1i32); - pub const Network: Self = Self(2i32); -} -impl ::core::marker::Copy for HttpResponseMessageSource {} -impl ::core::clone::Clone for HttpResponseMessageSource { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpStatusCode(pub i32); -impl HttpStatusCode { - pub const None: Self = Self(0i32); - pub const Continue: Self = Self(100i32); - pub const SwitchingProtocols: Self = Self(101i32); - pub const Processing: Self = Self(102i32); - pub const Ok: Self = Self(200i32); - pub const Created: Self = Self(201i32); - pub const Accepted: Self = Self(202i32); - pub const NonAuthoritativeInformation: Self = Self(203i32); - pub const NoContent: Self = Self(204i32); - pub const ResetContent: Self = Self(205i32); - pub const PartialContent: Self = Self(206i32); - pub const MultiStatus: Self = Self(207i32); - pub const AlreadyReported: Self = Self(208i32); - pub const IMUsed: Self = Self(226i32); - pub const MultipleChoices: Self = Self(300i32); - pub const MovedPermanently: Self = Self(301i32); - pub const Found: Self = Self(302i32); - pub const SeeOther: Self = Self(303i32); - pub const NotModified: Self = Self(304i32); - pub const UseProxy: Self = Self(305i32); - pub const TemporaryRedirect: Self = Self(307i32); - pub const PermanentRedirect: Self = Self(308i32); - pub const BadRequest: Self = Self(400i32); - pub const Unauthorized: Self = Self(401i32); - pub const PaymentRequired: Self = Self(402i32); - pub const Forbidden: Self = Self(403i32); - pub const NotFound: Self = Self(404i32); - pub const MethodNotAllowed: Self = Self(405i32); - pub const NotAcceptable: Self = Self(406i32); - pub const ProxyAuthenticationRequired: Self = Self(407i32); - pub const RequestTimeout: Self = Self(408i32); - pub const Conflict: Self = Self(409i32); - pub const Gone: Self = Self(410i32); - pub const LengthRequired: Self = Self(411i32); - pub const PreconditionFailed: Self = Self(412i32); - pub const RequestEntityTooLarge: Self = Self(413i32); - pub const RequestUriTooLong: Self = Self(414i32); - pub const UnsupportedMediaType: Self = Self(415i32); - pub const RequestedRangeNotSatisfiable: Self = Self(416i32); - pub const ExpectationFailed: Self = Self(417i32); - pub const UnprocessableEntity: Self = Self(422i32); - pub const Locked: Self = Self(423i32); - pub const FailedDependency: Self = Self(424i32); - pub const UpgradeRequired: Self = Self(426i32); - pub const PreconditionRequired: Self = Self(428i32); - pub const TooManyRequests: Self = Self(429i32); - pub const RequestHeaderFieldsTooLarge: Self = Self(431i32); - pub const InternalServerError: Self = Self(500i32); - pub const NotImplemented: Self = Self(501i32); - pub const BadGateway: Self = Self(502i32); - pub const ServiceUnavailable: Self = Self(503i32); - pub const GatewayTimeout: Self = Self(504i32); - pub const HttpVersionNotSupported: Self = Self(505i32); - pub const VariantAlsoNegotiates: Self = Self(506i32); - pub const InsufficientStorage: Self = Self(507i32); - pub const LoopDetected: Self = Self(508i32); - pub const NotExtended: Self = Self(510i32); - pub const NetworkAuthenticationRequired: Self = Self(511i32); -} -impl ::core::marker::Copy for HttpStatusCode {} -impl ::core::clone::Clone for HttpStatusCode { - fn clone(&self) -> Self { - *self - } -} -pub type HttpStreamContent = *mut ::core::ffi::c_void; -pub type HttpStringContent = *mut ::core::ffi::c_void; -pub type HttpTransportInformation = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpVersion(pub i32); -impl HttpVersion { - pub const None: Self = Self(0i32); - pub const Http10: Self = Self(1i32); - pub const Http11: Self = Self(2i32); - pub const Http20: Self = Self(3i32); -} -impl ::core::marker::Copy for HttpVersion {} -impl ::core::clone::Clone for HttpVersion { - fn clone(&self) -> Self { - *self - } -} -pub type IHttpContent = *mut ::core::ffi::c_void; |