#[non_exhaustive]pub struct TerminateSessionOutput {
pub state: Option<SessionState>,
/* private fields */
}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.state: Option<SessionState>The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
Implementations§
source§impl TerminateSessionOutput
impl TerminateSessionOutput
sourcepub fn state(&self) -> Option<&SessionState>
pub fn state(&self) -> Option<&SessionState>
The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
source§impl TerminateSessionOutput
impl TerminateSessionOutput
sourcepub fn builder() -> TerminateSessionOutputBuilder
pub fn builder() -> TerminateSessionOutputBuilder
Creates a new builder-style object to manufacture TerminateSessionOutput.
Trait Implementations§
source§impl Clone for TerminateSessionOutput
impl Clone for TerminateSessionOutput
source§fn clone(&self) -> TerminateSessionOutput
fn clone(&self) -> TerminateSessionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TerminateSessionOutput
impl Debug for TerminateSessionOutput
source§impl PartialEq for TerminateSessionOutput
impl PartialEq for TerminateSessionOutput
source§fn eq(&self, other: &TerminateSessionOutput) -> bool
fn eq(&self, other: &TerminateSessionOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for TerminateSessionOutput
impl RequestId for TerminateSessionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for TerminateSessionOutput
Auto Trait Implementations§
impl Freeze for TerminateSessionOutput
impl RefUnwindSafe for TerminateSessionOutput
impl Send for TerminateSessionOutput
impl Sync for TerminateSessionOutput
impl Unpin for TerminateSessionOutput
impl UnwindSafe for TerminateSessionOutput
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