pub struct Effect<S, A: Address = MailAddr> { /* private fields */ }Expand description
Effects emitted by one ordinary infallible, no-birth behavior turn.
Effect is a truthful shorthand for
Actions<A, Never, Vec<S>, NoBirths>. It introduces no runtime operation,
hidden error path, creation capability, or phase transition. Behaviors that
need any of those capabilities use the complete Actions algebra.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S, A> Freeze for Effect<S, A>
impl<S, A> RefUnwindSafe for Effect<S, A>
impl<S, A> Send for Effect<S, A>
impl<S, A> Sync for Effect<S, A>
impl<S, A> Unpin for Effect<S, A>
impl<S, A> UnsafeUnpin for Effect<S, A>
impl<S, A> UnwindSafe for Effect<S, A>
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