pub struct OutboundControlRequest<'a, B: Serialize> {
pub kind: &'static str,
pub request_id: &'a str,
pub request: &'a B,
}Expand description
Envelope for every host → CLI control request:
{"type":"control_request","request_id":"…","request":{"subtype":"…",…}}.
Source: query.py:368–372
Fields§
§kind: &'static strAlways "control_request".
request_id: &'a strId the CLI echoes in its control_response.
request: &'a BRequest body; its subtype names the request.
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> Forget for OutboundControlRequest<'a, B>
impl<'a, B> Freeze for OutboundControlRequest<'a, B>
impl<'a, B> Move for OutboundControlRequest<'a, B>
impl<'a, B> RefUnwindSafe for OutboundControlRequest<'a, B>where
&'a B: RefUnwindSafe,
impl<'a, B> Send for OutboundControlRequest<'a, B>
impl<'a, B> Sync for OutboundControlRequest<'a, B>
impl<'a, B> Unpin for OutboundControlRequest<'a, B>
impl<'a, B> UnsafeUnpin for OutboundControlRequest<'a, B>where
&'a B: UnsafeUnpin,
impl<'a, B> UnwindSafe for OutboundControlRequest<'a, B>where
&'a B: 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