pub struct WorkerCell {
pub cell_id: usize,
pub core_id: CoreId,
pub memory_boundary: usize,
pub job_receiver: Receiver<Job>,
pub result_sender: Sender<Job>,
pub shutdown_signal: Arc<AtomicBool>,
pub pause_signal: Arc<AtomicBool>,
}Expand description
Worker cell - isolated execution context pinned to a specific core
Fields§
§cell_id: usize§core_id: CoreId§memory_boundary: usize§job_receiver: Receiver<Job>§result_sender: Sender<Job>§shutdown_signal: Arc<AtomicBool>§pause_signal: Arc<AtomicBool>Implementations§
Source§impl WorkerCell
impl WorkerCell
Auto Trait Implementations§
impl Freeze for WorkerCell
impl RefUnwindSafe for WorkerCell
impl Send for WorkerCell
impl Sync for WorkerCell
impl Unpin for WorkerCell
impl UnsafeUnpin for WorkerCell
impl UnwindSafe for WorkerCell
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more