pub enum EffectType {
Fixed(String),
Action(String),
}Expand description
The type of an external effect, before the system names it.
Variants§
Fixed(String)
A fixed type, such as @xstate.log or an emitted event’s type.
Action(String)
A custom action of the actor’s machine, by its name in the machine’s
sources; named <definition key>/actions/<name> by the system.
Trait Implementations§
Auto Trait Implementations§
impl Forget for EffectType
impl Freeze for EffectType
impl Move for EffectType
impl RefUnwindSafe for EffectType
impl Send for EffectTypewhere
RawVecInner: Send,
impl Sync for EffectTypewhere
RawVecInner: Sync,
impl Unpin for EffectType
impl UnsafeUnpin for EffectType
impl UnwindSafe for EffectTypewhere
RawVecInner: 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