Enum google_api_proto::google::cloud::networkmanagement::v1::LoadBalancerType
source · #[repr(i32)]pub enum LoadBalancerType {
Unspecified = 0,
HttpsAdvancedLoadBalancer = 1,
HttpsLoadBalancer = 2,
RegionalHttpsLoadBalancer = 3,
InternalHttpsLoadBalancer = 4,
SslProxyLoadBalancer = 5,
TcpProxyLoadBalancer = 6,
InternalTcpProxyLoadBalancer = 7,
NetworkLoadBalancer = 8,
LegacyNetworkLoadBalancer = 9,
TcpUdpInternalLoadBalancer = 10,
}
Expand description
Type of a load balancer. For more information, see Summary of Google Cloud load balancers.
Variants§
Unspecified = 0
Forwarding rule points to a different target than a load balancer or a load balancer type is unknown.
HttpsAdvancedLoadBalancer = 1
Global external HTTP(S) load balancer.
HttpsLoadBalancer = 2
Global external HTTP(S) load balancer (classic)
RegionalHttpsLoadBalancer = 3
Regional external HTTP(S) load balancer.
InternalHttpsLoadBalancer = 4
Internal HTTP(S) load balancer.
SslProxyLoadBalancer = 5
External SSL proxy load balancer.
TcpProxyLoadBalancer = 6
External TCP proxy load balancer.
InternalTcpProxyLoadBalancer = 7
Internal regional TCP proxy load balancer.
NetworkLoadBalancer = 8
External TCP/UDP Network load balancer.
LegacyNetworkLoadBalancer = 9
Target-pool based external TCP/UDP Network load balancer.
TcpUdpInternalLoadBalancer = 10
Internal TCP/UDP load balancer.
Implementations§
source§impl LoadBalancerType
impl LoadBalancerType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for LoadBalancerType
impl Clone for LoadBalancerType
source§fn clone(&self) -> LoadBalancerType
fn clone(&self) -> LoadBalancerType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoadBalancerType
impl Debug for LoadBalancerType
source§impl Default for LoadBalancerType
impl Default for LoadBalancerType
source§fn default() -> LoadBalancerType
fn default() -> LoadBalancerType
source§impl From<LoadBalancerType> for i32
impl From<LoadBalancerType> for i32
source§fn from(value: LoadBalancerType) -> i32
fn from(value: LoadBalancerType) -> i32
source§impl Hash for LoadBalancerType
impl Hash for LoadBalancerType
source§impl Ord for LoadBalancerType
impl Ord for LoadBalancerType
source§fn cmp(&self, other: &LoadBalancerType) -> Ordering
fn cmp(&self, other: &LoadBalancerType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for LoadBalancerType
impl PartialEq for LoadBalancerType
source§fn eq(&self, other: &LoadBalancerType) -> bool
fn eq(&self, other: &LoadBalancerType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LoadBalancerType
impl PartialOrd for LoadBalancerType
source§fn partial_cmp(&self, other: &LoadBalancerType) -> Option<Ordering>
fn partial_cmp(&self, other: &LoadBalancerType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for LoadBalancerType
impl TryFrom<i32> for LoadBalancerType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<LoadBalancerType, DecodeError>
fn try_from(value: i32) -> Result<LoadBalancerType, DecodeError>
impl Copy for LoadBalancerType
impl Eq for LoadBalancerType
impl StructuralPartialEq for LoadBalancerType
Auto Trait Implementations§
impl Freeze for LoadBalancerType
impl RefUnwindSafe for LoadBalancerType
impl Send for LoadBalancerType
impl Sync for LoadBalancerType
impl Unpin for LoadBalancerType
impl UnwindSafe for LoadBalancerType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request