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<FpgaImageState> for FpgaImageState
impl PartialEq<FpgaImageState> 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 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