pub struct HostRequest {
pub kind: HostRequestKind,
pub body: Value,
pub reply: Sender<Value>,
}Expand description
A single host-callback request: an executor proxies a gated-tool approval back to the host over the run’s WS and awaits the reply.
Fields§
§kind: HostRequestKind§body: Value§reply: Sender<Value>Auto Trait Implementations§
impl !RefUnwindSafe for HostRequest
impl !UnwindSafe for HostRequest
impl Freeze for HostRequest
impl Send for HostRequest
impl Sync for HostRequest
impl Unpin for HostRequest
impl UnsafeUnpin for HostRequest
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