Struct sim::models::parallel_gateway::ParallelGateway
source · pub struct ParallelGateway { /* private fields */ }
Expand description
The parallel gateway splits a job across multiple processing paths. The job is duplicated across every one of the processing paths. In addition to splitting the process, a second parallel gateway can be used to join the split paths. The parallel gateway is a BPMN concept.
Implementations§
source§impl ParallelGateway
impl ParallelGateway
pub fn from_value(value: Value) -> Option<Box<dyn ReportableModel>>
Trait Implementations§
source§impl Clone for ParallelGateway
impl Clone for ParallelGateway
source§fn clone(&self) -> ParallelGateway
fn clone(&self) -> ParallelGateway
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParallelGateway
impl Debug for ParallelGateway
source§impl<'de> Deserialize<'de> for ParallelGateway
impl<'de> Deserialize<'de> for ParallelGateway
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl DevsModel for ParallelGateway
impl DevsModel for ParallelGateway
fn events_ext( &mut self, incoming_message: &ModelMessage, services: &mut Services ) -> Result<(), SimulationError>
fn events_int( &mut self, services: &mut Services ) -> Result<Vec<ModelMessage>, SimulationError>
fn time_advance(&mut self, time_delta: f64)
fn until_next_event(&self) -> f64
source§impl Reportable for ParallelGateway
impl Reportable for ParallelGateway
source§impl SerializableModel for ParallelGateway
impl SerializableModel for ParallelGateway
source§impl Serialize for ParallelGateway
impl Serialize for ParallelGateway
impl ReportableModel for ParallelGateway
Auto Trait Implementations§
impl RefUnwindSafe for ParallelGateway
impl Send for ParallelGateway
impl Sync for ParallelGateway
impl Unpin for ParallelGateway
impl UnwindSafe for ParallelGateway
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