pub enum ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController> {
ForwardControlToController(ServiceControlActor<UserData>, ServiceControl),
ForwardFeatureEventToController(FeaturesEvent),
ToController(ToController),
FeatureControl(FeaturesControl),
Event(ServiceControlActor<UserData>, ServiceEvent),
OnResourceEmpty,
}Variants§
ForwardControlToController(ServiceControlActor<UserData>, ServiceControl)
ForwardFeatureEventToController(FeaturesEvent)
ToController(ToController)
FeatureControl(FeaturesControl)
Event(ServiceControlActor<UserData>, ServiceEvent)
OnResourceEmpty
Trait Implementations§
Source§impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker> TaskSwitcherChild<ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>> for Box<dyn ServiceWorker<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker>>
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker> TaskSwitcherChild<ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>> for Box<dyn ServiceWorker<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker>>
type Time = u64
fn empty_event( &self, ) -> ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>
fn is_empty(&self) -> bool
fn pop_output( &mut self, now: u64, ) -> Option<ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>>
Auto Trait Implementations§
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController> Freeze for ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController> RefUnwindSafe for ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>where
ServiceControl: RefUnwindSafe,
FeaturesEvent: RefUnwindSafe,
ToController: RefUnwindSafe,
FeaturesControl: RefUnwindSafe,
ServiceEvent: RefUnwindSafe,
UserData: RefUnwindSafe,
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController> Send for ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController> Sync for ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController> Unpin for ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController> UnwindSafe for ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController>where
ServiceControl: UnwindSafe,
FeaturesEvent: UnwindSafe,
ToController: UnwindSafe,
FeaturesControl: UnwindSafe,
ServiceEvent: 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