pub struct PlacementCandidate {
pub core_id: CoreId,
pub runtime_mode: RuntimeMode,
pub operational_mode: RuntimeOperationalMode,
pub health: RuntimeHealthStatus,
pub current_load: u32,
pub leader_services: BTreeSet<ServiceId>,
pub profile: CoreProfile,
}Expand description
Runtime state advertised by one placement candidate.
Fields§
§core_id: CoreIdCandidate Core identity.
runtime_mode: RuntimeModeCandidate Runtime mode.
operational_mode: RuntimeOperationalModeCurrent operational mode.
health: RuntimeHealthStatusCurrent health.
current_load: u32Current active-work count.
leader_services: BTreeSet<ServiceId>Services for which the Core holds leadership.
profile: CoreProfileDeclared Core profile.
Trait Implementations§
Source§impl Clone for PlacementCandidate
impl Clone for PlacementCandidate
Source§fn clone(&self) -> PlacementCandidate
fn clone(&self) -> PlacementCandidate
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 PlacementCandidate
impl Debug for PlacementCandidate
impl Eq for PlacementCandidate
Source§impl PartialEq for PlacementCandidate
impl PartialEq for PlacementCandidate
impl StructuralPartialEq for PlacementCandidate
Auto Trait Implementations§
impl Freeze for PlacementCandidate
impl RefUnwindSafe for PlacementCandidate
impl Send for PlacementCandidate
impl Sync for PlacementCandidate
impl Unpin for PlacementCandidate
impl UnsafeUnpin for PlacementCandidate
impl UnwindSafe for PlacementCandidate
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