Struct aws_sdk_ec2::types::FpgaImageState  
source · #[non_exhaustive]pub struct FpgaImageState {
    pub code: Option<FpgaImageStateCode>,
    pub message: Option<String>,
}Expand description
Describes the state of the bitstream generation process for an Amazon FPGA image (AFI).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: Option<FpgaImageStateCode>The state. The following are the possible values:
- 
pending- AFI bitstream generation is in progress.
- 
available- The AFI is available for use.
- 
failed- AFI bitstream generation failed.
- 
unavailable- The AFI is no longer available for use.
message: Option<String>If the state is failed, this is the error message.
Implementations§
source§impl FpgaImageState
 
impl FpgaImageState
sourcepub fn code(&self) -> Option<&FpgaImageStateCode>
 
pub fn code(&self) -> Option<&FpgaImageStateCode>
The state. The following are the possible values:
- 
pending- AFI bitstream generation is in progress.
- 
available- The AFI is available for use.
- 
failed- AFI bitstream generation failed.
- 
unavailable- The AFI is no longer available for use.
source§impl FpgaImageState
 
impl FpgaImageState
sourcepub fn builder() -> FpgaImageStateBuilder
 
pub fn builder() -> FpgaImageStateBuilder
Creates a new builder-style object to manufacture FpgaImageState.
Trait Implementations§
source§impl Clone for FpgaImageState
 
impl Clone for FpgaImageState
source§fn clone(&self) -> FpgaImageState
 
fn clone(&self) -> FpgaImageState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for FpgaImageState
 
impl Debug for FpgaImageState
source§impl PartialEq for FpgaImageState
 
impl PartialEq for FpgaImageState
source§fn eq(&self, other: &FpgaImageState) -> bool
 
fn eq(&self, other: &FpgaImageState) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FpgaImageState
Auto Trait Implementations§
impl Freeze for FpgaImageState
impl RefUnwindSafe for FpgaImageState
impl Send for FpgaImageState
impl Sync for FpgaImageState
impl Unpin for FpgaImageState
impl UnwindSafe for FpgaImageState
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
Mutably borrows from an owned value. Read more
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>
Converts 
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>
Converts 
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 moreCreates a shared type from an unshared type.