Struct aws_sdk_ec2::types::ClientVpnEndpointStatus
source · #[non_exhaustive]pub struct ClientVpnEndpointStatus {
pub code: Option<ClientVpnEndpointStatusCode>,
pub message: Option<String>,
}
Expand description
Describes the state of a Client VPN endpoint.
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.code: Option<ClientVpnEndpointStatusCode>
The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
message: Option<String>
A message about the status of the Client VPN endpoint.
Implementations§
source§impl ClientVpnEndpointStatus
impl ClientVpnEndpointStatus
sourcepub fn code(&self) -> Option<&ClientVpnEndpointStatusCode>
pub fn code(&self) -> Option<&ClientVpnEndpointStatusCode>
The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
source§impl ClientVpnEndpointStatus
impl ClientVpnEndpointStatus
sourcepub fn builder() -> ClientVpnEndpointStatusBuilder
pub fn builder() -> ClientVpnEndpointStatusBuilder
Creates a new builder-style object to manufacture ClientVpnEndpointStatus
.
Trait Implementations§
source§impl Clone for ClientVpnEndpointStatus
impl Clone for ClientVpnEndpointStatus
source§fn clone(&self) -> ClientVpnEndpointStatus
fn clone(&self) -> ClientVpnEndpointStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientVpnEndpointStatus
impl Debug for ClientVpnEndpointStatus
source§impl PartialEq for ClientVpnEndpointStatus
impl PartialEq for ClientVpnEndpointStatus
source§fn eq(&self, other: &ClientVpnEndpointStatus) -> bool
fn eq(&self, other: &ClientVpnEndpointStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientVpnEndpointStatus
Auto Trait Implementations§
impl Freeze for ClientVpnEndpointStatus
impl RefUnwindSafe for ClientVpnEndpointStatus
impl Send for ClientVpnEndpointStatus
impl Sync for ClientVpnEndpointStatus
impl Unpin for ClientVpnEndpointStatus
impl UnwindSafe for ClientVpnEndpointStatus
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