#[non_exhaustive]pub struct InstanceAttachmentEnaSrdSpecification {
pub ena_srd_enabled: Option<bool>,
pub ena_srd_udp_specification: Option<InstanceAttachmentEnaSrdUdpSpecification>,
}
Expand description
ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
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.ena_srd_enabled: Option<bool>
Indicates whether ENA Express is enabled for the network interface.
ena_srd_udp_specification: Option<InstanceAttachmentEnaSrdUdpSpecification>
Configures ENA Express for UDP network traffic.
Implementations§
source§impl InstanceAttachmentEnaSrdSpecification
impl InstanceAttachmentEnaSrdSpecification
sourcepub fn ena_srd_enabled(&self) -> Option<bool>
pub fn ena_srd_enabled(&self) -> Option<bool>
Indicates whether ENA Express is enabled for the network interface.
sourcepub fn ena_srd_udp_specification(
&self
) -> Option<&InstanceAttachmentEnaSrdUdpSpecification>
pub fn ena_srd_udp_specification( &self ) -> Option<&InstanceAttachmentEnaSrdUdpSpecification>
Configures ENA Express for UDP network traffic.
source§impl InstanceAttachmentEnaSrdSpecification
impl InstanceAttachmentEnaSrdSpecification
sourcepub fn builder() -> InstanceAttachmentEnaSrdSpecificationBuilder
pub fn builder() -> InstanceAttachmentEnaSrdSpecificationBuilder
Creates a new builder-style object to manufacture InstanceAttachmentEnaSrdSpecification
.
Trait Implementations§
source§impl Clone for InstanceAttachmentEnaSrdSpecification
impl Clone for InstanceAttachmentEnaSrdSpecification
source§fn clone(&self) -> InstanceAttachmentEnaSrdSpecification
fn clone(&self) -> InstanceAttachmentEnaSrdSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InstanceAttachmentEnaSrdSpecification
impl PartialEq for InstanceAttachmentEnaSrdSpecification
source§fn eq(&self, other: &InstanceAttachmentEnaSrdSpecification) -> bool
fn eq(&self, other: &InstanceAttachmentEnaSrdSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.