pub struct LeanWorkerPlannedBatch {
pub session_key: LeanWorkerSessionKey,
pub project_root: PathBuf,
pub package: String,
pub lib_name: String,
pub source_root: String,
pub imports: Vec<String>,
pub modules: Vec<LeanWorkerModuleWork>,
pub fingerprint: LeanWorkerBatchFingerprint,
/* private fields */
}Expand description
One stable pool-execution batch.
Fields§
§session_key: LeanWorkerSessionKey§project_root: PathBuf§package: String§lib_name: String§source_root: String§imports: Vec<String>§modules: Vec<LeanWorkerModuleWork>§fingerprint: LeanWorkerBatchFingerprintImplementations§
Source§impl LeanWorkerPlannedBatch
impl LeanWorkerPlannedBatch
Sourcepub fn capability_builder(&self) -> LeanWorkerCapabilityBuilder
pub fn capability_builder(&self) -> LeanWorkerCapabilityBuilder
Create a capability builder for this batch.
The caller may still add packaging-specific details such as an explicit worker executable. The batch supplies the stable session material.
Trait Implementations§
Source§impl Clone for LeanWorkerPlannedBatch
impl Clone for LeanWorkerPlannedBatch
Source§fn clone(&self) -> LeanWorkerPlannedBatch
fn clone(&self) -> LeanWorkerPlannedBatch
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 Debug for LeanWorkerPlannedBatch
impl Debug for LeanWorkerPlannedBatch
Source§impl PartialEq for LeanWorkerPlannedBatch
impl PartialEq for LeanWorkerPlannedBatch
Source§fn eq(&self, other: &LeanWorkerPlannedBatch) -> bool
fn eq(&self, other: &LeanWorkerPlannedBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerPlannedBatch
impl StructuralPartialEq for LeanWorkerPlannedBatch
Auto Trait Implementations§
impl Freeze for LeanWorkerPlannedBatch
impl RefUnwindSafe for LeanWorkerPlannedBatch
impl Send for LeanWorkerPlannedBatch
impl Sync for LeanWorkerPlannedBatch
impl Unpin for LeanWorkerPlannedBatch
impl UnsafeUnpin for LeanWorkerPlannedBatch
impl UnwindSafe for LeanWorkerPlannedBatch
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