Struct dvcompute::simulation::resource::stats::TryRequestWithinEvent [−][src]
pub struct TryRequestWithinEvent<S> where
S: QueueStrategy, { /* fields omitted */ }
Expand description
Try to request for the resource immediately and return a flag indicating whether the resource was aquired.
Trait Implementations
Convert to the Process
computation.
Convert to the Composite
computation.
Bind the current computation with its continuation within the resulting computation.
Map the current computation using the specified transform.
Zip the current computation with another one within the resulting computation.
The function application.
Run the computation in the start time.
fn run_in_start_time_by(
self,
including_current_events: bool
) -> RunInStartTime<Self> where
Self: Sized,
fn run_in_start_time_by(
self,
including_current_events: bool
) -> RunInStartTime<Self> where
Self: Sized,
Run the computation in the start time by processing the current events or not.
Run the computation in the stop time.
fn run_in_stop_time_by(
self,
including_current_events: bool
) -> RunInStopTime<Self> where
Self: Sized,
fn run_in_stop_time_by(
self,
including_current_events: bool
) -> RunInStopTime<Self> where
Self: Sized,
Run the computation in the stop time by processing the current events or not.
Convert into a boxed value.
Auto Trait Implementations
impl<S> !RefUnwindSafe for TryRequestWithinEvent<S>
impl<S> !Send for TryRequestWithinEvent<S>
impl<S> !Sync for TryRequestWithinEvent<S>
impl<S> Unpin for TryRequestWithinEvent<S>
impl<S> !UnwindSafe for TryRequestWithinEvent<S>
Blanket Implementations
Mutably borrows from an owned value. Read more