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
sourceimpl ParallelGateway
impl ParallelGateway
pub fn from_value(value: Value) -> Option<Box<dyn ReportableModel>>
Trait Implementations
sourceimpl Clone for ParallelGateway
impl Clone for ParallelGateway
sourcefn clone(&self) -> ParallelGateway
fn clone(&self) -> ParallelGateway
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ParallelGateway
impl Debug for ParallelGateway
sourceimpl<'de> Deserialize<'de> for ParallelGateway
impl<'de> Deserialize<'de> for ParallelGateway
sourcefn 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
sourceimpl 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
sourceimpl Reportable for ParallelGateway
impl Reportable for ParallelGateway
sourceimpl SerializableModel for ParallelGateway
impl SerializableModel for ParallelGateway
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ModelClone for T where
T: 'static + ReportableModel + Clone,
impl<T> ModelClone for T where
T: 'static + ReportableModel + Clone,
fn clone_box(&self) -> Box<dyn ReportableModel>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more