pub enum DeploymentAcquireUnavailableReason {
Contended,
Deferred,
StatusMismatch,
DeploymentModelMismatch,
PlatformMismatch,
SetupMethodMismatch,
AcquireModeMismatch,
LimitReached,
}Expand description
Why an explicitly requested deployment was not acquired.
These reasons are intentionally bounded and do not identify the session that owns a competing lease.
JSON schema
{
"description": "Why an explicitly requested deployment was not acquired.\n\nThese reasons are intentionally bounded and do not identify the session\nthat owns a competing lease.",
"type": "string",
"enum": [
"contended",
"deferred",
"statusMismatch",
"deploymentModelMismatch",
"platformMismatch",
"setupMethodMismatch",
"acquireModeMismatch",
"limitReached"
]
}Variants§
Contended
Deferred
StatusMismatch
DeploymentModelMismatch
PlatformMismatch
SetupMethodMismatch
AcquireModeMismatch
LimitReached
Trait Implementations§
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§fn from(value: &DeploymentAcquireUnavailableReason) -> Self
fn from(value: &DeploymentAcquireUnavailableReason) -> Self
Converts to this type from the input type.
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§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
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