#[non_exhaustive]pub struct LaunchTemplateEnaSrdSpecification {
pub ena_srd_enabled: Option<bool>,
pub ena_srd_udp_specification: Option<LaunchTemplateEnaSrdUdpSpecification>,
}
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<LaunchTemplateEnaSrdUdpSpecification>
Configures ENA Express for UDP network traffic.
Implementations§
source§impl LaunchTemplateEnaSrdSpecification
impl LaunchTemplateEnaSrdSpecification
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<&LaunchTemplateEnaSrdUdpSpecification>
pub fn ena_srd_udp_specification( &self ) -> Option<&LaunchTemplateEnaSrdUdpSpecification>
Configures ENA Express for UDP network traffic.
source§impl LaunchTemplateEnaSrdSpecification
impl LaunchTemplateEnaSrdSpecification
sourcepub fn builder() -> LaunchTemplateEnaSrdSpecificationBuilder
pub fn builder() -> LaunchTemplateEnaSrdSpecificationBuilder
Creates a new builder-style object to manufacture LaunchTemplateEnaSrdSpecification
.
Trait Implementations§
source§impl Clone for LaunchTemplateEnaSrdSpecification
impl Clone for LaunchTemplateEnaSrdSpecification
source§fn clone(&self) -> LaunchTemplateEnaSrdSpecification
fn clone(&self) -> LaunchTemplateEnaSrdSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for LaunchTemplateEnaSrdSpecification
impl PartialEq for LaunchTemplateEnaSrdSpecification
source§fn eq(&self, other: &LaunchTemplateEnaSrdSpecification) -> bool
fn eq(&self, other: &LaunchTemplateEnaSrdSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplateEnaSrdSpecification
Auto Trait Implementations§
impl Freeze for LaunchTemplateEnaSrdSpecification
impl RefUnwindSafe for LaunchTemplateEnaSrdSpecification
impl Send for LaunchTemplateEnaSrdSpecification
impl Sync for LaunchTemplateEnaSrdSpecification
impl Unpin for LaunchTemplateEnaSrdSpecification
impl UnwindSafe for LaunchTemplateEnaSrdSpecification
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more