]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | pub type AppServiceClosedEventArgs = *mut ::core::ffi::c_void; |
04454e1e | 2 | #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] |
5e7ed085 FG |
3 | #[repr(transparent)] |
4 | pub struct AppServiceClosedStatus(pub i32); | |
5 | impl 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 | } | |
11 | impl ::core::marker::Copy for AppServiceClosedStatus {} | |
12 | impl ::core::clone::Clone for AppServiceClosedStatus { | |
13 | fn clone(&self) -> Self { | |
14 | *self | |
15 | } | |
16 | } | |
17 | pub type AppServiceConnection = *mut ::core::ffi::c_void; | |
04454e1e | 18 | #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] |
5e7ed085 FG |
19 | #[repr(transparent)] |
20 | pub struct AppServiceConnectionStatus(pub i32); | |
21 | impl 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 | } | |
35 | impl ::core::marker::Copy for AppServiceConnectionStatus {} | |
36 | impl ::core::clone::Clone for AppServiceConnectionStatus { | |
37 | fn clone(&self) -> Self { | |
38 | *self | |
39 | } | |
40 | } | |
41 | pub type AppServiceDeferral = *mut ::core::ffi::c_void; | |
42 | pub type AppServiceRequest = *mut ::core::ffi::c_void; | |
43 | pub type AppServiceRequestReceivedEventArgs = *mut ::core::ffi::c_void; | |
44 | pub type AppServiceResponse = *mut ::core::ffi::c_void; | |
04454e1e | 45 | #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] |
5e7ed085 FG |
46 | #[repr(transparent)] |
47 | pub struct AppServiceResponseStatus(pub i32); | |
48 | impl 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 | } | |
61 | impl ::core::marker::Copy for AppServiceResponseStatus {} | |
62 | impl ::core::clone::Clone for AppServiceResponseStatus { | |
63 | fn clone(&self) -> Self { | |
64 | *self | |
65 | } | |
66 | } | |
67 | pub type AppServiceTriggerDetails = *mut ::core::ffi::c_void; | |
68 | pub type StatelessAppServiceResponse = *mut ::core::ffi::c_void; | |
04454e1e | 69 | #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] |
5e7ed085 FG |
70 | #[repr(transparent)] |
71 | pub struct StatelessAppServiceResponseStatus(pub i32); | |
72 | impl 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 | } | |
89 | impl ::core::marker::Copy for StatelessAppServiceResponseStatus {} | |
90 | impl ::core::clone::Clone for StatelessAppServiceResponseStatus { | |
91 | fn clone(&self) -> Self { | |
92 | *self | |
93 | } | |
94 | } |