pub enum ServiceWorkerInput<UserData, FeaturesEvent, ServiceControl, ToWorker> {
Control(ServiceControlActor<UserData>, ServiceControl),
FromController(ToWorker),
FeatureEvent(FeaturesEvent),
}Expand description
Second part is Worker, which is running inside each data plane workers.
Variants§
Control(ServiceControlActor<UserData>, ServiceControl)
FromController(ToWorker)
FeatureEvent(FeaturesEvent)
Auto Trait Implementations§
impl<UserData, FeaturesEvent, ServiceControl, ToWorker> Freeze for ServiceWorkerInput<UserData, FeaturesEvent, ServiceControl, ToWorker>
impl<UserData, FeaturesEvent, ServiceControl, ToWorker> RefUnwindSafe for ServiceWorkerInput<UserData, FeaturesEvent, ServiceControl, ToWorker>where
ServiceControl: RefUnwindSafe,
ToWorker: RefUnwindSafe,
FeaturesEvent: RefUnwindSafe,
UserData: RefUnwindSafe,
impl<UserData, FeaturesEvent, ServiceControl, ToWorker> Send for ServiceWorkerInput<UserData, FeaturesEvent, ServiceControl, ToWorker>
impl<UserData, FeaturesEvent, ServiceControl, ToWorker> Sync for ServiceWorkerInput<UserData, FeaturesEvent, ServiceControl, ToWorker>
impl<UserData, FeaturesEvent, ServiceControl, ToWorker> Unpin for ServiceWorkerInput<UserData, FeaturesEvent, ServiceControl, ToWorker>
impl<UserData, FeaturesEvent, ServiceControl, ToWorker> UnwindSafe for ServiceWorkerInput<UserData, FeaturesEvent, ServiceControl, ToWorker>where
ServiceControl: UnwindSafe,
ToWorker: UnwindSafe,
FeaturesEvent: UnwindSafe,
UserData: 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