pub enum BuildMode {
AmazonLinux2,
Lambda,
}
Expand description
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 Copy for BuildMode
impl Eq for BuildMode
impl StructuralPartialEq for BuildMode
Auto Trait Implementations§
impl Freeze for BuildMode
impl RefUnwindSafe for BuildMode
impl Send for BuildMode
impl Sync for BuildMode
impl Unpin for BuildMode
impl UnwindSafe for BuildMode
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