pub enum WorkerInnerOutput<Owner, ExtOut, ChannelId, Event, SCfg> {
Net(Owner, BackendOutgoing),
Bus(BusControl<Owner, ChannelId, Event>),
Ext(bool, ExtOut),
Spawn(SCfg),
Continue,
}
Variants§
Net(Owner, BackendOutgoing)
Bus(BusControl<Owner, ChannelId, Event>)
Ext(bool, ExtOut)
First bool is message need to safe to send or not, second is the message
Spawn(SCfg)
Continue
Auto Trait Implementations§
impl<Owner, ExtOut, ChannelId, Event, SCfg> Freeze for WorkerInnerOutput<Owner, ExtOut, ChannelId, Event, SCfg>
impl<Owner, ExtOut, ChannelId, Event, SCfg> RefUnwindSafe for WorkerInnerOutput<Owner, ExtOut, ChannelId, Event, SCfg>where
Owner: RefUnwindSafe,
ExtOut: RefUnwindSafe,
SCfg: RefUnwindSafe,
Event: RefUnwindSafe,
ChannelId: RefUnwindSafe,
impl<Owner, ExtOut, ChannelId, Event, SCfg> Send for WorkerInnerOutput<Owner, ExtOut, ChannelId, Event, SCfg>
impl<Owner, ExtOut, ChannelId, Event, SCfg> Sync for WorkerInnerOutput<Owner, ExtOut, ChannelId, Event, SCfg>
impl<Owner, ExtOut, ChannelId, Event, SCfg> Unpin for WorkerInnerOutput<Owner, ExtOut, ChannelId, Event, SCfg>
impl<Owner, ExtOut, ChannelId, Event, SCfg> UnwindSafe for WorkerInnerOutput<Owner, ExtOut, ChannelId, Event, SCfg>where
Owner: UnwindSafe,
ExtOut: UnwindSafe,
SCfg: UnwindSafe,
Event: UnwindSafe,
ChannelId: 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