pub enum HostActivationAdapterKind {
None,
Command,
}Expand description
Which activation adapter a deployment has, if any.
Declared rather than inferred: a host that is never woken and a host whose wake-up failed look the same from the outside, and an operator deciding whether to poll needs to tell them apart.
Variants§
None
No adapter: hosts find their work by asking for it.
Command
The operator’s own command, run with the envelope on its input.
Implementations§
Trait Implementations§
Source§impl Clone for HostActivationAdapterKind
impl Clone for HostActivationAdapterKind
impl Copy for HostActivationAdapterKind
Source§impl Debug for HostActivationAdapterKind
impl Debug for HostActivationAdapterKind
Source§impl Default for HostActivationAdapterKind
impl Default for HostActivationAdapterKind
Source§impl<'de> Deserialize<'de> for HostActivationAdapterKind
impl<'de> Deserialize<'de> for HostActivationAdapterKind
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
Source§impl Display for HostActivationAdapterKind
impl Display for HostActivationAdapterKind
impl Eq for HostActivationAdapterKind
Source§impl Hash for HostActivationAdapterKind
impl Hash for HostActivationAdapterKind
Source§impl Ord for HostActivationAdapterKind
impl Ord for HostActivationAdapterKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for HostActivationAdapterKind
impl PartialOrd for HostActivationAdapterKind
impl StructuralPartialEq for HostActivationAdapterKind
Auto Trait Implementations§
impl Freeze for HostActivationAdapterKind
impl RefUnwindSafe for HostActivationAdapterKind
impl Send for HostActivationAdapterKind
impl Sync for HostActivationAdapterKind
impl Unpin for HostActivationAdapterKind
impl UnsafeUnpin for HostActivationAdapterKind
impl UnwindSafe for HostActivationAdapterKind
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