Struct aws_sdk_appmesh::model::Listener
source · [−]#[non_exhaustive]pub struct Listener {
pub port_mapping: Option<PortMapping>,
pub tls: Option<ListenerTls>,
pub health_check: Option<HealthCheckPolicy>,
pub timeout: Option<ListenerTimeout>,
pub outlier_detection: Option<OutlierDetection>,
pub connection_pool: Option<VirtualNodeConnectionPool>,
}
Expand description
An object that represents a listener for a virtual node.
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.port_mapping: Option<PortMapping>
The port mapping information for the listener.
tls: Option<ListenerTls>
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
health_check: Option<HealthCheckPolicy>
The health check information for the listener.
timeout: Option<ListenerTimeout>
An object that represents timeouts for different protocols.
outlier_detection: Option<OutlierDetection>
The outlier detection information for the listener.
connection_pool: Option<VirtualNodeConnectionPool>
The connection pool information for the listener.
Implementations
sourceimpl Listener
impl Listener
sourcepub fn port_mapping(&self) -> Option<&PortMapping>
pub fn port_mapping(&self) -> Option<&PortMapping>
The port mapping information for the listener.
sourcepub fn tls(&self) -> Option<&ListenerTls>
pub fn tls(&self) -> Option<&ListenerTls>
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
sourcepub fn health_check(&self) -> Option<&HealthCheckPolicy>
pub fn health_check(&self) -> Option<&HealthCheckPolicy>
The health check information for the listener.
sourcepub fn timeout(&self) -> Option<&ListenerTimeout>
pub fn timeout(&self) -> Option<&ListenerTimeout>
An object that represents timeouts for different protocols.
sourcepub fn outlier_detection(&self) -> Option<&OutlierDetection>
pub fn outlier_detection(&self) -> Option<&OutlierDetection>
The outlier detection information for the listener.
sourcepub fn connection_pool(&self) -> Option<&VirtualNodeConnectionPool>
pub fn connection_pool(&self) -> Option<&VirtualNodeConnectionPool>
The connection pool information for the listener.
Trait Implementations
impl StructuralPartialEq for Listener
Auto Trait Implementations
impl RefUnwindSafe for Listener
impl Send for Listener
impl Sync for Listener
impl Unpin for Listener
impl UnwindSafe for Listener
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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