pub struct ResumeSpawnRequest {
pub session_id: String,
pub session: Session,
pub cancel_token: CancellationToken,
pub event_sender: Sender<AgentEvent>,
pub config: ResumeConfigSnapshot,
}Expand description
Request captured for the adapter to spawn a resumed agent execution.
This bundles everything the server-side spawner needs, keeping the
application layer free of AppState and server-specific types.
Fields§
§session_id: String§session: Session§cancel_token: CancellationToken§event_sender: Sender<AgentEvent>§config: ResumeConfigSnapshotAuto Trait Implementations§
impl Freeze for ResumeSpawnRequest
impl !RefUnwindSafe for ResumeSpawnRequest
impl Send for ResumeSpawnRequest
impl Sync for ResumeSpawnRequest
impl Unpin for ResumeSpawnRequest
impl UnsafeUnpin for ResumeSpawnRequest
impl !UnwindSafe for ResumeSpawnRequest
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