pub enum CommandOutput<Effect, Event> {
Effect(Effect),
Event(Event),
}
Expand description
An item emitted from a Command when used as a Stream.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<Effect, Event> Freeze for CommandOutput<Effect, Event>
impl<Effect, Event> RefUnwindSafe for CommandOutput<Effect, Event>where
Effect: RefUnwindSafe,
Event: RefUnwindSafe,
impl<Effect, Event> Send for CommandOutput<Effect, Event>
impl<Effect, Event> Sync for CommandOutput<Effect, Event>
impl<Effect, Event> Unpin for CommandOutput<Effect, Event>
impl<Effect, Event> UnwindSafe for CommandOutput<Effect, Event>where
Effect: UnwindSafe,
Event: 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