pub enum WorkloadKind {
Container,
Daemon,
Function,
Sandbox,
Build,
}Expand description
What kind of compute a workload is.
Variants§
Container
A long-running container.
Daemon
One container per machine.
Function
A serverless function.
Sandbox
A sandbox runtime.
Build
A build environment.
Trait Implementations§
Source§impl Clone for WorkloadKind
impl Clone for WorkloadKind
impl Copy for WorkloadKind
Source§impl Debug for WorkloadKind
impl Debug for WorkloadKind
Source§impl<'de> Deserialize<'de> for WorkloadKind
impl<'de> Deserialize<'de> for WorkloadKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkloadKind
Source§impl PartialEq for WorkloadKind
impl PartialEq for WorkloadKind
Source§impl Serialize for WorkloadKind
impl Serialize for WorkloadKind
impl StructuralPartialEq for WorkloadKind
Auto Trait Implementations§
impl Forget for WorkloadKind
impl Freeze for WorkloadKind
impl Move for WorkloadKind
impl RefUnwindSafe for WorkloadKind
impl Send for WorkloadKind
impl Sync for WorkloadKind
impl Unpin for WorkloadKind
impl UnsafeUnpin for WorkloadKind
impl UnwindSafe for WorkloadKind
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