pub enum ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker> {
Event(ServiceControlActor<UserData>, ServiceEvent),
FeatureControl(FeaturesControl),
BroadcastWorkers(ToWorker),
OnResourceEmpty,
}Variants§
Event(ServiceControlActor<UserData>, ServiceEvent)
FeatureControl(FeaturesControl)
BroadcastWorkers(ToWorker)
OnResourceEmpty
Trait Implementations§
Source§impl<UserData: Debug, FeaturesControl: Debug, ServiceEvent: Debug, ToWorker: Debug> Debug for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
impl<UserData: Debug, FeaturesControl: Debug, ServiceEvent: Debug, ToWorker: Debug> Debug for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
Source§impl<UserData: PartialEq, FeaturesControl: PartialEq, ServiceEvent: PartialEq, ToWorker: PartialEq> PartialEq for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
impl<UserData: PartialEq, FeaturesControl: PartialEq, ServiceEvent: PartialEq, ToWorker: PartialEq> PartialEq for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
Source§fn eq(
&self,
other: &ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>,
) -> bool
fn eq( &self, other: &ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>, ) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker> TaskSwitcherChild<ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>> for Box<dyn Service<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker>>
impl<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker> TaskSwitcherChild<ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>> for Box<dyn Service<UserData, FeaturesControl, FeaturesEvent, ServiceControl, ServiceEvent, ToController, ToWorker>>
type Time = u64
fn empty_event( &self, ) -> ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
fn is_empty(&self) -> bool
fn pop_output( &mut self, now: u64, ) -> Option<ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>>
impl<UserData: Eq, FeaturesControl: Eq, ServiceEvent: Eq, ToWorker: Eq> Eq for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
impl<UserData, FeaturesControl, ServiceEvent, ToWorker> StructuralPartialEq for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
Auto Trait Implementations§
impl<UserData, FeaturesControl, ServiceEvent, ToWorker> Freeze for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
impl<UserData, FeaturesControl, ServiceEvent, ToWorker> RefUnwindSafe for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>where
ServiceEvent: RefUnwindSafe,
FeaturesControl: RefUnwindSafe,
ToWorker: RefUnwindSafe,
UserData: RefUnwindSafe,
impl<UserData, FeaturesControl, ServiceEvent, ToWorker> Send for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
impl<UserData, FeaturesControl, ServiceEvent, ToWorker> Sync for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
impl<UserData, FeaturesControl, ServiceEvent, ToWorker> Unpin for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>
impl<UserData, FeaturesControl, ServiceEvent, ToWorker> UnwindSafe for ServiceOutput<UserData, FeaturesControl, ServiceEvent, ToWorker>where
ServiceEvent: UnwindSafe,
FeaturesControl: UnwindSafe,
ToWorker: 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