Struct aws_sdk_ec2::model::NetworkInfo
source · [−]#[non_exhaustive]pub struct NetworkInfo {
pub network_performance: Option<String>,
pub maximum_network_interfaces: Option<i32>,
pub maximum_network_cards: Option<i32>,
pub default_network_card_index: Option<i32>,
pub network_cards: Option<Vec<NetworkCardInfo>>,
pub ipv4_addresses_per_interface: Option<i32>,
pub ipv6_addresses_per_interface: Option<i32>,
pub ipv6_supported: Option<bool>,
pub ena_support: Option<EnaSupport>,
pub efa_supported: Option<bool>,
pub efa_info: Option<EfaInfo>,
pub encryption_in_transit_supported: Option<bool>,
}
Expand description
Describes the networking features of the instance type.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.network_performance: Option<String>
The network performance.
maximum_network_interfaces: Option<i32>
The maximum number of network interfaces for the instance type.
maximum_network_cards: Option<i32>
The maximum number of physical network cards that can be allocated to the instance.
default_network_card_index: Option<i32>
The index of the default network card, starting at 0.
network_cards: Option<Vec<NetworkCardInfo>>
Describes the network cards for the instance type.
ipv4_addresses_per_interface: Option<i32>
The maximum number of IPv4 addresses per network interface.
ipv6_addresses_per_interface: Option<i32>
The maximum number of IPv6 addresses per network interface.
ipv6_supported: Option<bool>
Indicates whether IPv6 is supported.
ena_support: Option<EnaSupport>
Indicates whether Elastic Network Adapter (ENA) is supported.
efa_supported: Option<bool>
Indicates whether Elastic Fabric Adapter (EFA) is supported.
efa_info: Option<EfaInfo>
Describes the Elastic Fabric Adapters for the instance type.
encryption_in_transit_supported: Option<bool>
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
Implementations
sourceimpl NetworkInfo
impl NetworkInfo
sourcepub fn network_performance(&self) -> Option<&str>
pub fn network_performance(&self) -> Option<&str>
The network performance.
sourcepub fn maximum_network_interfaces(&self) -> Option<i32>
pub fn maximum_network_interfaces(&self) -> Option<i32>
The maximum number of network interfaces for the instance type.
sourcepub fn maximum_network_cards(&self) -> Option<i32>
pub fn maximum_network_cards(&self) -> Option<i32>
The maximum number of physical network cards that can be allocated to the instance.
sourcepub fn default_network_card_index(&self) -> Option<i32>
pub fn default_network_card_index(&self) -> Option<i32>
The index of the default network card, starting at 0.
sourcepub fn network_cards(&self) -> Option<&[NetworkCardInfo]>
pub fn network_cards(&self) -> Option<&[NetworkCardInfo]>
Describes the network cards for the instance type.
sourcepub fn ipv4_addresses_per_interface(&self) -> Option<i32>
pub fn ipv4_addresses_per_interface(&self) -> Option<i32>
The maximum number of IPv4 addresses per network interface.
sourcepub fn ipv6_addresses_per_interface(&self) -> Option<i32>
pub fn ipv6_addresses_per_interface(&self) -> Option<i32>
The maximum number of IPv6 addresses per network interface.
sourcepub fn ipv6_supported(&self) -> Option<bool>
pub fn ipv6_supported(&self) -> Option<bool>
Indicates whether IPv6 is supported.
sourcepub fn ena_support(&self) -> Option<&EnaSupport>
pub fn ena_support(&self) -> Option<&EnaSupport>
Indicates whether Elastic Network Adapter (ENA) is supported.
sourcepub fn efa_supported(&self) -> Option<bool>
pub fn efa_supported(&self) -> Option<bool>
Indicates whether Elastic Fabric Adapter (EFA) is supported.
sourcepub fn efa_info(&self) -> Option<&EfaInfo>
pub fn efa_info(&self) -> Option<&EfaInfo>
Describes the Elastic Fabric Adapters for the instance type.
sourcepub fn encryption_in_transit_supported(&self) -> Option<bool>
pub fn encryption_in_transit_supported(&self) -> Option<bool>
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
sourceimpl NetworkInfo
impl NetworkInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NetworkInfo
.
Trait Implementations
sourceimpl Clone for NetworkInfo
impl Clone for NetworkInfo
sourcefn clone(&self) -> NetworkInfo
fn clone(&self) -> NetworkInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NetworkInfo
impl Debug for NetworkInfo
sourceimpl PartialEq<NetworkInfo> for NetworkInfo
impl PartialEq<NetworkInfo> for NetworkInfo
sourcefn eq(&self, other: &NetworkInfo) -> bool
fn eq(&self, other: &NetworkInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NetworkInfo) -> bool
fn ne(&self, other: &NetworkInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for NetworkInfo
Auto Trait Implementations
impl RefUnwindSafe for NetworkInfo
impl Send for NetworkInfo
impl Sync for NetworkInfo
impl Unpin for NetworkInfo
impl UnwindSafe for NetworkInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more