#[non_exhaustive]pub enum Request {
Show 25 variants
Health,
LoadFixtureCapability {
fixture_root: String,
},
CallFixtureMul {
fixture_root: String,
lhs: u64,
rhs: u64,
},
TriggerLeanPanic {
fixture_root: String,
},
OpenHostSession {
project_root: String,
package: String,
lib_name: String,
imports: Vec<String>,
},
Elaborate {
source: String,
options: LeanWorkerElabOptions,
},
KernelCheck {
source: String,
options: LeanWorkerElabOptions,
progress: bool,
},
DeclarationKinds {
names: Vec<String>,
progress: bool,
},
DeclarationNames {
names: Vec<String>,
progress: bool,
},
RunDataStream {
export: String,
request_json: String,
progress: bool,
},
CapabilityMetadata {
export: String,
request_json: String,
},
CapabilityDoctor {
export: String,
request_json: String,
},
JsonCommand {
export: String,
request_json: String,
},
InferType {
source: String,
options: LeanWorkerElabOptions,
},
Whnf {
source: String,
options: LeanWorkerElabOptions,
},
IsDefEq {
lhs: String,
rhs: String,
transparency: LeanWorkerMetaTransparency,
options: LeanWorkerElabOptions,
},
Describe {
name: String,
},
ListDeclarationsStrings {
filter: LeanWorkerDeclarationFilter,
progress: bool,
},
DescribeBulk {
names: Vec<String>,
progress: bool,
},
ProcessFile {
source: String,
options: LeanWorkerElabOptions,
},
ProcessModule {
source: String,
options: LeanWorkerElabOptions,
},
EmitTestRows {
streams: Vec<String>,
},
EmitTestRowsThenExit,
EmitTestRowsThenPanic,
Terminate,
}Expand description
Parent-issued worker request body.
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.
Health
LoadFixtureCapability
CallFixtureMul
TriggerLeanPanic
OpenHostSession
Elaborate
KernelCheck
DeclarationKinds
DeclarationNames
RunDataStream
CapabilityMetadata
CapabilityDoctor
JsonCommand
InferType
Whnf
IsDefEq
Describe
ListDeclarationsStrings
DescribeBulk
ProcessFile
ProcessModule
EmitTestRows
EmitTestRowsThenExit
EmitTestRowsThenPanic
Terminate
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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 Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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