pub struct HostCallOutcome {
pub outcome: ToolOutcome,
pub by_middleware: bool,
pub stopped: bool,
}Expand description
outcome Err: no answer — refused, invalid, failed, the session gone. by_middleware: the
answer is not the tool’s own — a tool.around gave or changed it, or a tool.result rewrote
it. stopped: the host or the session’s end told the call to stop.
Fields§
§outcome: ToolOutcome§by_middleware: bool§stopped: boolTrait Implementations§
Source§impl Clone for HostCallOutcome
impl Clone for HostCallOutcome
Source§impl Debug for HostCallOutcome
impl Debug for HostCallOutcome
Source§impl PartialEq for HostCallOutcome
impl PartialEq for HostCallOutcome
impl StructuralPartialEq for HostCallOutcome
Auto Trait Implementations§
impl Forget for HostCallOutcome
impl Freeze for HostCallOutcome
impl Move for HostCallOutcome
impl RefUnwindSafe for HostCallOutcome
impl Send for HostCallOutcome
impl Sync for HostCallOutcome
impl Unpin for HostCallOutcome
impl UnsafeUnpin for HostCallOutcome
impl UnwindSafe for HostCallOutcome
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