pub struct InputAtom<M>where
M: MessageRetriever,{ /* private fields */ }Expand description
Atom that retrieves user input for a turn
This atom:
- Retrieves the user message from the message retriever using input_message_id
- Returns the message for downstream processing
The message is expected to already be stored by the API layer (which emits input.message). This atom just retrieves it and prepares for the turn.
Implementations§
Auto Trait Implementations§
impl<M> Freeze for InputAtom<M>where
M: Freeze,
impl<M> RefUnwindSafe for InputAtom<M>where
M: RefUnwindSafe,
impl<M> Send for InputAtom<M>
impl<M> Sync for InputAtom<M>
impl<M> Unpin for InputAtom<M>where
M: Unpin,
impl<M> UnsafeUnpin for InputAtom<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for InputAtom<M>where
M: 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