Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl ClientVpnEndpointStatus
impl ClientVpnEndpointStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClientVpnEndpointStatus
.
Trait Implementations
sourceimpl Clone for ClientVpnEndpointStatus
impl Clone for ClientVpnEndpointStatus
sourcefn clone(&self) -> ClientVpnEndpointStatus
fn clone(&self) -> ClientVpnEndpointStatus
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 ClientVpnEndpointStatus
impl Debug for ClientVpnEndpointStatus
sourceimpl PartialEq<ClientVpnEndpointStatus> for ClientVpnEndpointStatus
impl PartialEq<ClientVpnEndpointStatus> for ClientVpnEndpointStatus
sourcefn eq(&self, other: &ClientVpnEndpointStatus) -> bool
fn eq(&self, other: &ClientVpnEndpointStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClientVpnEndpointStatus) -> bool
fn ne(&self, other: &ClientVpnEndpointStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for ClientVpnEndpointStatus
Auto Trait Implementations
impl RefUnwindSafe for ClientVpnEndpointStatus
impl Send for ClientVpnEndpointStatus
impl Sync for ClientVpnEndpointStatus
impl Unpin for ClientVpnEndpointStatus
impl UnwindSafe for ClientVpnEndpointStatus
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