#[repr(i32)]pub enum PeerNetworkType {
Unspecified = 0,
Standard = 1,
VmwareEngineNetwork = 2,
PrivateServicesAccess = 3,
NetappCloudVolumes = 4,
ThirdPartyService = 5,
DellPowerscale = 6,
}
Expand description
Type or purpose of the network peering connection.
Variants§
Unspecified = 0
Unspecified
Standard = 1
Peering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
VmwareEngineNetwork = 2
Peering connection used for connecting to another VMware Engine network.
PrivateServicesAccess = 3
Peering connection used for establishing private services access.
NetappCloudVolumes = 4
Peering connection used for connecting to NetApp Cloud Volumes.
ThirdPartyService = 5
Peering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
DellPowerscale = 6
Peering connection used for connecting to Dell PowerScale Filers
Implementations§
source§impl PeerNetworkType
impl PeerNetworkType
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 PeerNetworkType
impl Clone for PeerNetworkType
source§fn clone(&self) -> PeerNetworkType
fn clone(&self) -> PeerNetworkType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PeerNetworkType
impl Debug for PeerNetworkType
source§impl Default for PeerNetworkType
impl Default for PeerNetworkType
source§fn default() -> PeerNetworkType
fn default() -> PeerNetworkType
source§impl From<PeerNetworkType> for i32
impl From<PeerNetworkType> for i32
source§fn from(value: PeerNetworkType) -> i32
fn from(value: PeerNetworkType) -> i32
source§impl Hash for PeerNetworkType
impl Hash for PeerNetworkType
source§impl Ord for PeerNetworkType
impl Ord for PeerNetworkType
source§fn cmp(&self, other: &PeerNetworkType) -> Ordering
fn cmp(&self, other: &PeerNetworkType) -> 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 PeerNetworkType
impl PartialEq for PeerNetworkType
source§fn eq(&self, other: &PeerNetworkType) -> bool
fn eq(&self, other: &PeerNetworkType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PeerNetworkType
impl PartialOrd for PeerNetworkType
source§fn partial_cmp(&self, other: &PeerNetworkType) -> Option<Ordering>
fn partial_cmp(&self, other: &PeerNetworkType) -> 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 PeerNetworkType
impl TryFrom<i32> for PeerNetworkType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<PeerNetworkType, DecodeError>
fn try_from(value: i32) -> Result<PeerNetworkType, DecodeError>
impl Copy for PeerNetworkType
impl Eq for PeerNetworkType
impl StructuralPartialEq for PeerNetworkType
Auto Trait Implementations§
impl Freeze for PeerNetworkType
impl RefUnwindSafe for PeerNetworkType
impl Send for PeerNetworkType
impl Sync for PeerNetworkType
impl Unpin for PeerNetworkType
impl UnwindSafe for PeerNetworkType
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