[][src]Enum aws_build_lib::BuildMode

pub enum BuildMode {
    AmazonLinux2,
    Lambda,
}

Whether to build for Amazon Linux 2 or AWS Lambda.

Variants

AmazonLinux2

Build for Amazon Linux 2. The result is a standalone binary that can be copied to (e.g) an EC2 instance running Amazon Linux 2.

Lambda

Build for AWS Lambda running Amazon Linux 2. The result is a zip file containing a single "bootstrap" executable.

Trait Implementations

impl Clone for BuildMode[src]

impl Copy for BuildMode[src]

impl Debug for BuildMode[src]

impl Eq for BuildMode[src]

impl FromStr for BuildMode[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<BuildMode> for BuildMode[src]

impl StructuralEq for BuildMode[src]

impl StructuralPartialEq for BuildMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,