pub struct WorkerRecord {
pub worker_rank: u32,
pub backend_metadata: BackendMetadataRecord,
pub tensors: Vec<TensorRecord>,
pub status: i32,
pub updated_at: i64,
pub metadata_endpoint: String,
pub agent_name: String,
pub worker_grpc_endpoint: String,
}Expand description
Worker metadata record
Fields§
§worker_rank: u32§backend_metadata: BackendMetadataRecord§tensors: Vec<TensorRecord>§status: i32Worker lifecycle status (maps to SourceStatus proto enum)
updated_at: i64Timestamp of last status update (unix millis)
metadata_endpoint: StringP2P: NIXL listen thread endpoint (host:port)
agent_name: StringP2P: NIXL agent name for remote identification
worker_grpc_endpoint: StringP2P: Worker gRPC endpoint for tensor manifest (host:port)
Trait Implementations§
Source§impl Clone for WorkerRecord
impl Clone for WorkerRecord
Source§fn clone(&self) -> WorkerRecord
fn clone(&self) -> WorkerRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkerRecord
impl Debug for WorkerRecord
Source§impl From<WorkerMetadata> for WorkerRecord
impl From<WorkerMetadata> for WorkerRecord
Source§fn from(meta: WorkerMetadata) -> Self
fn from(meta: WorkerMetadata) -> Self
Converts to this type from the input type.
Source§impl From<WorkerRecord> for WorkerMetadata
impl From<WorkerRecord> for WorkerMetadata
Source§fn from(record: WorkerRecord) -> Self
fn from(record: WorkerRecord) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkerRecord
impl RefUnwindSafe for WorkerRecord
impl Send for WorkerRecord
impl Sync for WorkerRecord
impl Unpin for WorkerRecord
impl UnsafeUnpin for WorkerRecord
impl UnwindSafe for WorkerRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request