pub enum SignalPayload<S> {
Emitted {
variant: EffectVariantId,
body: S,
},
}Expand description
Typed signal-route payload. Generic over the producer composition’s seam-signal sum.
Variants§
Emitted
Producer emitted a typed signal-route source variant.
Fields
§
variant: EffectVariantIdTyped source variant id. In the composition schema this is the
route’s producer-side effect_variant; signal-kind routes still
originate from a producer effect and target a consumer signal.
§
body: SThe typed signal source body.
Implementations§
Source§impl<S: ProducerSignal> SignalPayload<S>
impl<S: ProducerSignal> SignalPayload<S>
Trait Implementations§
Source§impl<S: Clone> Clone for SignalPayload<S>
impl<S: Clone> Clone for SignalPayload<S>
Source§fn clone(&self) -> SignalPayload<S>
fn clone(&self) -> SignalPayload<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for SignalPayload<S>
impl<S: Debug> Debug for SignalPayload<S>
Source§impl<S: PartialEq> PartialEq for SignalPayload<S>
impl<S: PartialEq> PartialEq for SignalPayload<S>
Source§fn eq(&self, other: &SignalPayload<S>) -> bool
fn eq(&self, other: &SignalPayload<S>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<S: Eq> Eq for SignalPayload<S>
impl<S> StructuralPartialEq for SignalPayload<S>
Auto Trait Implementations§
impl<S> Freeze for SignalPayload<S>where
S: Freeze,
impl<S> RefUnwindSafe for SignalPayload<S>where
S: RefUnwindSafe,
impl<S> Send for SignalPayload<S>where
S: Send,
impl<S> Sync for SignalPayload<S>where
S: Sync,
impl<S> Unpin for SignalPayload<S>where
S: Unpin,
impl<S> UnsafeUnpin for SignalPayload<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SignalPayload<S>where
S: 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§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.