]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / AppService / mod.rs
CommitLineData
5e7ed085 1pub type AppServiceClosedEventArgs = *mut ::core::ffi::c_void;
04454e1e 2#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
5e7ed085
FG
3#[repr(transparent)]
4pub struct AppServiceClosedStatus(pub i32);
5impl AppServiceClosedStatus {
6 pub const Completed: Self = Self(0i32);
7 pub const Canceled: Self = Self(1i32);
8 pub const ResourceLimitsExceeded: Self = Self(2i32);
9 pub const Unknown: Self = Self(3i32);
10}
11impl ::core::marker::Copy for AppServiceClosedStatus {}
12impl ::core::clone::Clone for AppServiceClosedStatus {
13 fn clone(&self) -> Self {
14 *self
15 }
16}
17pub type AppServiceConnection = *mut ::core::ffi::c_void;
04454e1e 18#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
5e7ed085
FG
19#[repr(transparent)]
20pub struct AppServiceConnectionStatus(pub i32);
21impl AppServiceConnectionStatus {
22 pub const Success: Self = Self(0i32);
23 pub const AppNotInstalled: Self = Self(1i32);
24 pub const AppUnavailable: Self = Self(2i32);
25 pub const AppServiceUnavailable: Self = Self(3i32);
26 pub const Unknown: Self = Self(4i32);
27 pub const RemoteSystemUnavailable: Self = Self(5i32);
28 pub const RemoteSystemNotSupportedByApp: Self = Self(6i32);
29 pub const NotAuthorized: Self = Self(7i32);
30 pub const AuthenticationError: Self = Self(8i32);
31 pub const NetworkNotAvailable: Self = Self(9i32);
32 pub const DisabledByPolicy: Self = Self(10i32);
33 pub const WebServiceUnavailable: Self = Self(11i32);
34}
35impl ::core::marker::Copy for AppServiceConnectionStatus {}
36impl ::core::clone::Clone for AppServiceConnectionStatus {
37 fn clone(&self) -> Self {
38 *self
39 }
40}
41pub type AppServiceDeferral = *mut ::core::ffi::c_void;
42pub type AppServiceRequest = *mut ::core::ffi::c_void;
43pub type AppServiceRequestReceivedEventArgs = *mut ::core::ffi::c_void;
44pub type AppServiceResponse = *mut ::core::ffi::c_void;
04454e1e 45#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
5e7ed085
FG
46#[repr(transparent)]
47pub struct AppServiceResponseStatus(pub i32);
48impl AppServiceResponseStatus {
49 pub const Success: Self = Self(0i32);
50 pub const Failure: Self = Self(1i32);
51 pub const ResourceLimitsExceeded: Self = Self(2i32);
52 pub const Unknown: Self = Self(3i32);
53 pub const RemoteSystemUnavailable: Self = Self(4i32);
54 pub const MessageSizeTooLarge: Self = Self(5i32);
55 pub const AppUnavailable: Self = Self(6i32);
56 pub const AuthenticationError: Self = Self(7i32);
57 pub const NetworkNotAvailable: Self = Self(8i32);
58 pub const DisabledByPolicy: Self = Self(9i32);
59 pub const WebServiceUnavailable: Self = Self(10i32);
60}
61impl ::core::marker::Copy for AppServiceResponseStatus {}
62impl ::core::clone::Clone for AppServiceResponseStatus {
63 fn clone(&self) -> Self {
64 *self
65 }
66}
67pub type AppServiceTriggerDetails = *mut ::core::ffi::c_void;
68pub type StatelessAppServiceResponse = *mut ::core::ffi::c_void;
04454e1e 69#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
5e7ed085
FG
70#[repr(transparent)]
71pub struct StatelessAppServiceResponseStatus(pub i32);
72impl StatelessAppServiceResponseStatus {
73 pub const Success: Self = Self(0i32);
74 pub const AppNotInstalled: Self = Self(1i32);
75 pub const AppUnavailable: Self = Self(2i32);
76 pub const AppServiceUnavailable: Self = Self(3i32);
77 pub const RemoteSystemUnavailable: Self = Self(4i32);
78 pub const RemoteSystemNotSupportedByApp: Self = Self(5i32);
79 pub const NotAuthorized: Self = Self(6i32);
80 pub const ResourceLimitsExceeded: Self = Self(7i32);
81 pub const MessageSizeTooLarge: Self = Self(8i32);
82 pub const Failure: Self = Self(9i32);
83 pub const Unknown: Self = Self(10i32);
84 pub const AuthenticationError: Self = Self(11i32);
85 pub const NetworkNotAvailable: Self = Self(12i32);
86 pub const DisabledByPolicy: Self = Self(13i32);
87 pub const WebServiceUnavailable: Self = Self(14i32);
88}
89impl ::core::marker::Copy for StatelessAppServiceResponseStatus {}
90impl ::core::clone::Clone for StatelessAppServiceResponseStatus {
91 fn clone(&self) -> Self {
92 *self
93 }
94}