#[non_exhaustive]pub enum LeanWorkerBootstrapDiagnosticCode {
WorkerChildUnresolved,
WorkerChildNotExecutable,
CapabilityPreflight {
code: LeanLoaderDiagnosticCode,
},
WorkerHandshakeFailed,
CapabilityMetadataMismatch,
WorkerStartupFailed,
}Expand description
Stable worker bootstrap diagnostic codes.
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.
WorkerChildUnresolved
The worker child locator did not resolve to a file.
WorkerChildNotExecutable
The worker child exists but is not executable.
CapabilityPreflight
Manifest-backed capability preflight reported a loader/artifact issue.
Fields
WorkerHandshakeFailed
The worker child did not complete the protocol handshake.
CapabilityMetadataMismatch
Capability metadata did not match the caller’s expectation.
WorkerStartupFailed
Worker bootstrap failed for a reason outside the named deployment checks.
Implementations§
Trait Implementations§
Source§impl Clone for LeanWorkerBootstrapDiagnosticCode
impl Clone for LeanWorkerBootstrapDiagnosticCode
Source§fn clone(&self) -> LeanWorkerBootstrapDiagnosticCode
fn clone(&self) -> LeanWorkerBootstrapDiagnosticCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for LeanWorkerBootstrapDiagnosticCode
impl PartialEq for LeanWorkerBootstrapDiagnosticCode
Source§fn eq(&self, other: &LeanWorkerBootstrapDiagnosticCode) -> bool
fn eq(&self, other: &LeanWorkerBootstrapDiagnosticCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LeanWorkerBootstrapDiagnosticCode
impl Eq for LeanWorkerBootstrapDiagnosticCode
impl StructuralPartialEq for LeanWorkerBootstrapDiagnosticCode
Auto Trait Implementations§
impl Freeze for LeanWorkerBootstrapDiagnosticCode
impl RefUnwindSafe for LeanWorkerBootstrapDiagnosticCode
impl Send for LeanWorkerBootstrapDiagnosticCode
impl Sync for LeanWorkerBootstrapDiagnosticCode
impl Unpin for LeanWorkerBootstrapDiagnosticCode
impl UnsafeUnpin for LeanWorkerBootstrapDiagnosticCode
impl UnwindSafe for LeanWorkerBootstrapDiagnosticCode
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