pub struct Pending {
pub interruption: Interruption,
pub child: Option<Box<RunState>>,
/* private fields */
}Expand description
The unfinished tool batch of an interrupted turn.
Fields§
§interruption: Interruption§child: Option<Box<RunState>>The paused run of a child this call started, when the interrupted
call is a tool that delegates (crate::Tool::suspends). The call at
next is already inside that tool, so an answer goes to the child (at
any depth) and the call’s result is what the child ends with.
Pending::interruption is then a copy of the deepest run’s.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pending
impl<'de> Deserialize<'de> for Pending
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Pending
Auto Trait Implementations§
impl Forget for Pending
impl Freeze for Pending
impl Move for Pending
impl RefUnwindSafe for Pending
impl Send for Pending
impl Sync for Pending
impl Unpin for Pending
impl UnsafeUnpin for Pending
impl UnwindSafe for Pending
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