Struct dvcompute::simulation::process::ProcessId[][src]

pub struct ProcessId { /* fields omitted */ }
Expand description

The computation identifier.

Implementations

Create a new computation identifier.

Returns the observable of computation events.

Signal when the cancellation is initiated.

Whether the cancellation was initiated.

Cancel a process with the specified identifier.

Preempt the computation.

Proceed with the computation after it was preempted earlier.

Signal when the computation is preempted.

Signal when the computation is proceeded after it was preempted.

Interrupt a process with the specified identifier if the process is held by computation hold_process. Returns an Event computation.

Test whether the process with the specified identifier was interrupted. Returns an Event computation.

Return the expected interruption time after finishing the hold_process computation, which value may change if the corresponding process is preempted. Returns an Event computation.

Test whether the process with the specified identifier was passivated. Returns an Event computation.

Reactivate a process with the specified identifier.

Reactivate immediately a process with the specified identifier.

Reactivate immediately the processes with specfified identifies.

Trait Implementations

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.