Struct sim::models::exclusive_gateway::ExclusiveGateway
source · [−]pub struct ExclusiveGateway { /* private fields */ }
Expand description
The exclusive gateway splits a process flow into a set of possible paths. The process will only follow one of the possible paths. Path selection is determined by Weighted Index distribution random variates, so this atomic model exhibits stochastic behavior. The exclusive gateway is a BPMN concept.
Implementations
sourceimpl ExclusiveGateway
impl ExclusiveGateway
pub fn from_value(value: Value) -> Option<Box<dyn ReportableModel>>
Trait Implementations
sourceimpl Clone for ExclusiveGateway
impl Clone for ExclusiveGateway
sourcefn clone(&self) -> ExclusiveGateway
fn clone(&self) -> ExclusiveGateway
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 ExclusiveGateway
impl Debug for ExclusiveGateway
sourceimpl<'de> Deserialize<'de> for ExclusiveGateway
impl<'de> Deserialize<'de> for ExclusiveGateway
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 ExclusiveGateway
impl DevsModel for ExclusiveGateway
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 ExclusiveGateway
impl Reportable for ExclusiveGateway
sourceimpl SerializableModel for ExclusiveGateway
impl SerializableModel for ExclusiveGateway
sourceimpl Serialize for ExclusiveGateway
impl Serialize for ExclusiveGateway
impl ReportableModel for ExclusiveGateway
Auto Trait Implementations
impl RefUnwindSafe for ExclusiveGateway
impl Send for ExclusiveGateway
impl Sync for ExclusiveGateway
impl Unpin for ExclusiveGateway
impl UnwindSafe for ExclusiveGateway
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