pub enum SideEffect {
Yield(Box<Type>),
}Expand description
Computational side effects (beyond stack transformation)
These track effects that go beyond the stack transformation:
- Yield: generator/coroutine that yields values
- Future: IO, Throw, Async, etc.
Variants§
Trait Implementations§
Source§impl Clone for SideEffect
impl Clone for SideEffect
Source§fn clone(&self) -> SideEffect
fn clone(&self) -> SideEffect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SideEffect
impl Debug for SideEffect
Source§impl Display for SideEffect
impl Display for SideEffect
Source§impl Hash for SideEffect
impl Hash for SideEffect
Source§impl PartialEq for SideEffect
impl PartialEq for SideEffect
impl Eq for SideEffect
impl StructuralPartialEq for SideEffect
Auto Trait Implementations§
impl Freeze for SideEffect
impl RefUnwindSafe for SideEffect
impl Send for SideEffect
impl Sync for SideEffect
impl Unpin for SideEffect
impl UnwindSafe for SideEffect
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.