pub struct LivePlacementSnapshot { /* private fields */ }Expand description
Capacity snapshot for a placed live node.
Implementations§
Source§impl LivePlacementSnapshot
impl LivePlacementSnapshot
Sourcepub fn site(&self) -> LivePlacementSite
pub fn site(&self) -> LivePlacementSite
Returns the placement site captured by the snapshot.
Sourcepub fn runner(&self) -> &LiveSteadyStateSnapshot
pub fn runner(&self) -> &LiveSteadyStateSnapshot
Returns the runner’s steady-state capacity snapshot.
Sourcepub fn process_request_ring(&self) -> Option<ProcessRingSnapshot>
pub fn process_request_ring(&self) -> Option<ProcessRingSnapshot>
Returns the request ring snapshot, if this site uses a process ring.
Sourcepub fn process_response_ring(&self) -> Option<ProcessRingSnapshot>
pub fn process_response_ring(&self) -> Option<ProcessRingSnapshot>
Returns the response ring snapshot, if this site uses a process ring.
Trait Implementations§
Source§impl Clone for LivePlacementSnapshot
impl Clone for LivePlacementSnapshot
Source§fn clone(&self) -> LivePlacementSnapshot
fn clone(&self) -> LivePlacementSnapshot
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 LivePlacementSnapshot
impl Debug for LivePlacementSnapshot
impl Eq for LivePlacementSnapshot
Source§impl PartialEq for LivePlacementSnapshot
impl PartialEq for LivePlacementSnapshot
impl StructuralPartialEq for LivePlacementSnapshot
Auto Trait Implementations§
impl Freeze for LivePlacementSnapshot
impl RefUnwindSafe for LivePlacementSnapshot
impl Send for LivePlacementSnapshot
impl Sync for LivePlacementSnapshot
impl Unpin for LivePlacementSnapshot
impl UnsafeUnpin for LivePlacementSnapshot
impl UnwindSafe for LivePlacementSnapshot
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