pub struct LoadObservation<Route: DeliveryRoute + Clone + PartialEq> {
pub recipient: Route,
pub version: LoadVersion,
pub load: Load,
}Expand description
Explicit typed load evidence for LeastLoaded.
Fields§
§recipient: RouteRecipient whose load was observed.
version: LoadVersionVersion within that recipient’s evidence stream.
load: LoadPoint-in-time comparable load.
Trait Implementations§
Source§impl<Route: DeliveryRoute + Clone + PartialEq> Clone for LoadObservation<Route>
impl<Route: DeliveryRoute + Clone + PartialEq> Clone for LoadObservation<Route>
Source§impl<Route: DeliveryRoute + Clone + PartialEq> PartialEq for LoadObservation<Route>
impl<Route: DeliveryRoute + Clone + PartialEq> PartialEq for LoadObservation<Route>
impl<Route: DeliveryRoute + Clone + PartialEq> Eq for LoadObservation<Route>
Auto Trait Implementations§
impl<Route> Freeze for LoadObservation<Route>where
Route: Freeze,
impl<Route> RefUnwindSafe for LoadObservation<Route>where
Route: RefUnwindSafe,
impl<Route> Send for LoadObservation<Route>where
Route: Send,
impl<Route> Sync for LoadObservation<Route>where
Route: Sync,
impl<Route> Unpin for LoadObservation<Route>where
Route: Unpin,
impl<Route> UnsafeUnpin for LoadObservation<Route>where
Route: UnsafeUnpin,
impl<Route> UnwindSafe for LoadObservation<Route>where
Route: UnwindSafe,
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