pub struct LeanWorkerRuntimeMetadata {
pub worker_version: String,
pub protocol_version: u16,
pub lean_version: Option<String>,
}Expand description
Protocol/runtime facts reported by the worker child during handshake.
These facts describe the lean-rs-worker process and framing contract.
They are separate from downstream capability metadata returned by
LeanWorkerSession::capability_metadata.
Fields§
§worker_version: String§protocol_version: u16§lean_version: Option<String>Trait Implementations§
Source§impl Clone for LeanWorkerRuntimeMetadata
impl Clone for LeanWorkerRuntimeMetadata
Source§fn clone(&self) -> LeanWorkerRuntimeMetadata
fn clone(&self) -> LeanWorkerRuntimeMetadata
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 LeanWorkerRuntimeMetadata
impl Debug for LeanWorkerRuntimeMetadata
Source§impl PartialEq for LeanWorkerRuntimeMetadata
impl PartialEq for LeanWorkerRuntimeMetadata
Source§fn eq(&self, other: &LeanWorkerRuntimeMetadata) -> bool
fn eq(&self, other: &LeanWorkerRuntimeMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerRuntimeMetadata
impl StructuralPartialEq for LeanWorkerRuntimeMetadata
Auto Trait Implementations§
impl Freeze for LeanWorkerRuntimeMetadata
impl RefUnwindSafe for LeanWorkerRuntimeMetadata
impl Send for LeanWorkerRuntimeMetadata
impl Sync for LeanWorkerRuntimeMetadata
impl Unpin for LeanWorkerRuntimeMetadata
impl UnsafeUnpin for LeanWorkerRuntimeMetadata
impl UnwindSafe for LeanWorkerRuntimeMetadata
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