#[non_exhaustive]pub enum Detail {
Show 27 variants
PortInUse {
port: u16,
protocol: String,
holder: Option<PortHolder>,
},
ToolMissing {
tool: String,
},
ToolTooOld {
tool: String,
found: String,
required: String,
},
ToolUnanswered {
tool: String,
},
Timeout {
timed_out: TimedOut,
},
DownloadStalled {
what: DownloadKind,
after_s: u64,
},
DownloadFailed {
what: DownloadKind,
reason: String,
},
Elevation {
reason: String,
},
NotReady {
condition: String,
detail: String,
},
RunningElsewhere {
recorded: String,
asked: String,
},
NotParkable {
mode: String,
},
PartlyGone {
machines: Vec<String>,
},
SecretMissing {
name: String,
},
InputInvalid {
name: String,
reason: String,
},
ToolFailed {
reason: String,
},
ProjectInvalid {
dir: PathBuf,
},
MachineUnknown {
machine: String,
},
NetworkUnknown {
network: String,
},
ProviderRefused {
provider: String,
need: Option<ProviderNeed>,
},
ToolDenied {
tool: String,
},
CredentialsExpired {
cloud: Option<Cloud>,
reason: String,
},
AddressPoolOverlap {
reason: String,
},
NoConsole {
machine: String,
},
ServerAuthFailed {
server: Option<String>,
},
Io {
path: PathBuf,
action: String,
},
StateConflict {
expected: RunState,
found: Option<RunState>,
},
LeaseHeld {
scope: String,
pid: u32,
},
}Expand description
A failure’s typed fields, by its kind.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PortInUse
A host port the run publishes is taken.
Fields
holder: Option<PortHolder>The process listening on it, when it was found.
ToolMissing
A tool isn’t installed.
ToolTooOld
A tool is older than the run needs.
Fields
ToolUnanswered
A tool’s service didn’t answer (Docker’s engine).
Timeout
A step ran out of time.
DownloadStalled
A download showed no progress for as long as a download may.
Fields
what: DownloadKindWhat it downloads.
DownloadFailed
A download couldn’t be made.
Fields
what: DownloadKindWhat it downloads.
Elevation
The elevation the run’s commands need couldn’t be had.
NotReady
A ready condition didn’t hold.
Fields
RunningElsewhere
The run is recorded on another place than the one asked for.
NotParkable
The run can’t be parked in that mode.
PartlyGone
Machines of the run are gone, so it can’t be resumed whole.
SecretMissing
A secret the run needs has no value.
InputInvalid
A value the run was given can’t be used.
ToolFailed
A step’s tool ran and failed.
ProjectInvalid
The folder isn’t a project to run.
MachineUnknown
A machine the run doesn’t have.
NetworkUnknown
A network the run doesn’t have.
ProviderRefused
A Vagrant provider refused.
Fields
need: Option<ProviderNeed>What this computer lacks for it, when that is what refused it.
ToolDenied
A tool refused this account.
CredentialsExpired
A cloud refused the sign-in the run’s tools use.
Fields
AddressPoolOverlap
A network the run makes needs an address block another network holds.
NoConsole
A machine has no graphical console to reach.
ServerAuthFailed
The server the run is on refused its credentials.
Io
A file or folder couldn’t be read or written.
StateConflict
The run moved between a read and the write that would have moved it.
LeaseHeld
A live process holds the lease asked for.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Detail
impl<'de> Deserialize<'de> for Detail
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>,
impl Eq for Detail
Source§impl JsonSchema for Detail
impl JsonSchema for Detail
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Detail
Auto Trait Implementations§
impl Forget for Detail
impl Freeze for Detail
impl Move for Detail
impl RefUnwindSafe for Detail
impl Send for Detail
impl Sync for Detail
impl Unpin for Detail
impl UnsafeUnpin for Detail
impl UnwindSafe for Detail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.