pub struct SourceInstanceInfo {
pub source_id: String,
pub worker_id: String,
pub model_name: String,
pub worker_rank: u32,
pub status: i32,
pub updated_at: i64,
pub accelerator: String,
pub source_load: Option<f32>,
pub topology: HashMap<String, String>,
pub training_step: Option<u64>,
pub layout_signature: Option<String>,
}Expand description
Lightweight reference to a source worker (no tensor metadata).
Used by list_workers to support the ListSources RPC.
Fields§
§source_id: String§worker_id: String§model_name: String§worker_rank: u32Global rank of this worker.
status: i32Worker lifecycle status (maps to SourceStatus proto enum).
updated_at: i64Timestamp of last status update (unix millis).
accelerator: StringRuntime accelerator family for compatibility filtering (e.g. “cuda”). Empty when unknown (records that predate the field).
source_load: Option<f32>Source-published busyness in [0, 1] (default provider: RDMA NIC
utilization), refreshed via UpdateStatus heartbeats. None when the
source has not reported one (older client, or a provider with no
signal); Some(0.0) is a measured idle. Consumed by the client
load_aware selector, which ranks None as a neutral prior.
topology: HashMap<String, String>Datacenter topology domain values keyed by level. Empty when unknown.
training_step: Option<u64>Training step/version from SourceIdentity.extra_parameters, when present.
layout_signature: Option<String>Stable topology/registry digest, when published by the source.
Trait Implementations§
Source§impl Clone for SourceInstanceInfo
impl Clone for SourceInstanceInfo
Auto Trait Implementations§
impl Forget for SourceInstanceInfo
impl Freeze for SourceInstanceInfo
impl Move for SourceInstanceInfo
impl RefUnwindSafe for SourceInstanceInfo
impl Send for SourceInstanceInfo
impl Sync for SourceInstanceInfo
impl Unpin for SourceInstanceInfo
impl UnsafeUnpin for SourceInstanceInfo
impl UnwindSafe for SourceInstanceInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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> ⓘ
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>
T in a tonic::RequestSource§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>
T in a tonic::Request