pub struct SignalsSnapshot {
pub inflight: Option<InflightSnapshot>,
pub rate_limiter: Option<RateLimiterSnapshot>,
pub circuit_breaker: Option<CircuitBreakerSnapshot>,
}Expand description
A lightweight, provider-agnostic snapshot of runtime “signals” for orchestration.
This is intentionally facts only (no policy). Applications can build scoring/selection strategies on top of these signals.
Fields§
§inflight: Option<InflightSnapshot>§rate_limiter: Option<RateLimiterSnapshot>§circuit_breaker: Option<CircuitBreakerSnapshot>Trait Implementations§
Source§impl Clone for SignalsSnapshot
impl Clone for SignalsSnapshot
Source§fn clone(&self) -> SignalsSnapshot
fn clone(&self) -> SignalsSnapshot
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 SignalsSnapshot
impl Debug for SignalsSnapshot
Source§impl Default for SignalsSnapshot
impl Default for SignalsSnapshot
Source§fn default() -> SignalsSnapshot
fn default() -> SignalsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SignalsSnapshot
impl RefUnwindSafe for SignalsSnapshot
impl Send for SignalsSnapshot
impl Sync for SignalsSnapshot
impl Unpin for SignalsSnapshot
impl UnwindSafe for SignalsSnapshot
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