pub enum DpCoordinatorMsg {
Register {
deployment: String,
target: RouteTarget,
},
Deregister {
deployment: String,
engine_path: ActorPath,
},
ReportLoad {
deployment: String,
engine_path: ActorPath,
load: f64,
},
RouteTo {
deployment: String,
reply: Sender<Result<RouteTarget, InferenceError>>,
},
}Variants§
Auto Trait Implementations§
impl Freeze for DpCoordinatorMsg
impl !RefUnwindSafe for DpCoordinatorMsg
impl Send for DpCoordinatorMsg
impl Sync for DpCoordinatorMsg
impl Unpin for DpCoordinatorMsg
impl UnsafeUnpin for DpCoordinatorMsg
impl !UnwindSafe for DpCoordinatorMsg
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