pub struct MicrovmTier {
pub baseline_memory_mib: i64,
pub peak_memory_mib: i64,
pub peak_vcpu: u32,
pub max_disk_mib: i64,
}Expand description
One of the five sizes a Lambda MicroVM can be built at.
AWS has no ceiling knob: minimumMemoryInMiB sets a baseline and a running MicroVM bursts
vertically to four times it with no way to opt out. A declared ceiling is therefore honoured by
picking the tier whose peak stays inside it, not the tier whose baseline matches it.
Fields§
§baseline_memory_mib: i64What minimumMemoryInMiB is set to.
peak_memory_mib: i64The most memory the MicroVM can reach, in MiB.
peak_vcpu: u32The most vCPU the MicroVM can reach.
max_disk_mib: i64The most disk the MicroVM can use, in MiB.
Trait Implementations§
Source§impl Clone for MicrovmTier
impl Clone for MicrovmTier
Source§fn clone(&self) -> MicrovmTier
fn clone(&self) -> MicrovmTier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MicrovmTier
Source§impl Debug for MicrovmTier
impl Debug for MicrovmTier
impl Eq for MicrovmTier
Source§impl PartialEq for MicrovmTier
impl PartialEq for MicrovmTier
impl StructuralPartialEq for MicrovmTier
Auto Trait Implementations§
impl Freeze for MicrovmTier
impl RefUnwindSafe for MicrovmTier
impl Send for MicrovmTier
impl Sync for MicrovmTier
impl Unpin for MicrovmTier
impl UnsafeUnpin for MicrovmTier
impl UnwindSafe for MicrovmTier
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.