pub enum Worker<W> {
Failed {
cpu: Cpu,
handoff: Option<Read>,
},
Affinity {
cpu: Cpu,
source: Error,
bus: Report,
handoff: Option<Read>,
},
Entry {
cpu: Cpu,
source: W,
bus: Report,
handoff: Option<Read>,
},
Bus {
cpu: Cpu,
source: Bus,
},
}Expand description
Exact terminal failure produced by one returned worker.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for Worker<W>where
W: Freeze,
impl<W> RefUnwindSafe for Worker<W>where
W: RefUnwindSafe,
impl<W> Send for Worker<W>where
W: Send,
impl<W> Sync for Worker<W>where
W: Sync,
impl<W> Unpin for Worker<W>where
W: Unpin,
impl<W> UnsafeUnpin for Worker<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for Worker<W>where
W: 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