gateway_api/apis/standard/
constants.rs

1// WARNING: generated file - manual changes will be overriden
2
3#[derive(Debug, PartialEq, Eq)]
4pub enum GatewayClassConditionType {
5    Accepted,
6}
7
8impl std::fmt::Display for GatewayClassConditionType {
9    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
10        write!(f, "{:?}", self)
11    }
12}
13
14#[derive(Debug, PartialEq, Eq)]
15pub enum GatewayClassConditionReason {
16    Accepted,
17    InvalidParameters,
18    Pending,
19    Unsupported,
20    Waiting,
21}
22
23impl std::fmt::Display for GatewayClassConditionReason {
24    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
25        write!(f, "{:?}", self)
26    }
27}
28
29#[derive(Debug, PartialEq, Eq)]
30pub enum GatewayConditionType {
31    Programmed,
32    Accepted,
33    Ready,
34}
35
36impl std::fmt::Display for GatewayConditionType {
37    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
38        write!(f, "{:?}", self)
39    }
40}
41
42#[derive(Debug, PartialEq, Eq)]
43pub enum GatewayConditionReason {
44    Programmed,
45    Invalid,
46    NoResources,
47    AddressNotAssigned,
48    AddressNotUsable,
49    Accepted,
50    ListenersNotValid,
51    Pending,
52    UnsupportedAddress,
53    InvalidParameters,
54    Ready,
55    ListenersNotReady,
56}
57
58impl std::fmt::Display for GatewayConditionReason {
59    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
60        write!(f, "{:?}", self)
61    }
62}
63
64#[derive(Debug, PartialEq, Eq)]
65pub enum ListenerConditionType {
66    Conflicted,
67    Accepted,
68    ResolvedRefs,
69    Programmed,
70    Ready,
71}
72
73impl std::fmt::Display for ListenerConditionType {
74    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
75        write!(f, "{:?}", self)
76    }
77}
78
79#[derive(Debug, PartialEq, Eq)]
80pub enum ListenerConditionReason {
81    HostnameConflict,
82    ProtocolConflict,
83    NoConflicts,
84    Accepted,
85    PortUnavailable,
86    UnsupportedProtocol,
87    ResolvedRefs,
88    InvalidCertificateRef,
89    InvalidRouteKinds,
90    RefNotPermitted,
91    Programmed,
92    Invalid,
93    Pending,
94    Ready,
95}
96
97impl std::fmt::Display for ListenerConditionReason {
98    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
99        write!(f, "{:?}", self)
100    }
101}