#[non_exhaustive]pub enum PerformanceProfile {
BootDiskProfile(Box<BootDiskProfile>),
EphemeralLocalSsdProfile(Box<EphemeralLocalSsdProfile>),
DedicatedLocalSsdProfile(Box<DedicatedLocalSsdProfile>),
}Expand description
Optional. Defines the backing storage for the swap space. If omitted, defaults to the ‘boot_disk_profile’.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BootDiskProfile(Box<BootDiskProfile>)
Swap on the node’s boot disk.
EphemeralLocalSsdProfile(Box<EphemeralLocalSsdProfile>)
Swap on the local SSD shared with pod ephemeral storage.
DedicatedLocalSsdProfile(Box<DedicatedLocalSsdProfile>)
Provisions a new, separate local NVMe SSD exclusively for swap.
Trait Implementations§
Source§impl Clone for PerformanceProfile
impl Clone for PerformanceProfile
Source§fn clone(&self) -> PerformanceProfile
fn clone(&self) -> PerformanceProfile
Returns a duplicate 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 PerformanceProfile
impl Debug for PerformanceProfile
Source§impl PartialEq for PerformanceProfile
impl PartialEq for PerformanceProfile
impl StructuralPartialEq for PerformanceProfile
Auto Trait Implementations§
impl Freeze for PerformanceProfile
impl RefUnwindSafe for PerformanceProfile
impl Send for PerformanceProfile
impl Sync for PerformanceProfile
impl Unpin for PerformanceProfile
impl UnwindSafe for PerformanceProfile
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