Struct dvcompute::simulation::process::Delay
source · pub struct Delay<F, M> { /* private fields */ }
Expand description
Allows delaying the Process
computation by the specified function.
Trait Implementations§
source§impl<F, M> Process for Delay<F, M>
impl<F, M> Process for Delay<F, M>
source§fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
Bind the current computation with its continuation within the resulting computation.
source§fn map<B, F>(self, f: F) -> Map<Self, B, F>
fn map<B, F>(self, f: F) -> Map<Self, B, F>
Map the current computation using the specified transform.
source§fn zip<U>(self, other: U) -> Zip<Self, U>
fn zip<U>(self, other: U) -> Zip<Self, U>
Zip the current computation with another one within the resulting computation.
source§fn finally<U>(self, finalization: U) -> Finally<Self, U>
fn finally<U>(self, finalization: U) -> Finally<Self, U>
Finalize the current computation regardless of canceling it or not.
source§fn into_boxed(self) -> ProcessBox<Self::Item>where
Self: Sized + 'static,
fn into_boxed(self) -> ProcessBox<Self::Item>where
Self: Sized + 'static,
Convert into a boxed value.
Auto Trait Implementations§
impl<F, M> Freeze for Delay<F, M>where
F: Freeze,
impl<F, M> RefUnwindSafe for Delay<F, M>where
F: RefUnwindSafe,
M: RefUnwindSafe,
impl<F, M> Send for Delay<F, M>
impl<F, M> Sync for Delay<F, M>
impl<F, M> Unpin for Delay<F, M>
impl<F, M> UnwindSafe for Delay<F, M>where
F: UnwindSafe,
M: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)