pub struct DiagInspector(/* private fields */);
Expand description
An object that implements InspectMut
by sending an inspect request over
TTRPC to the guest (typically the paravisor running in VTL2), then stitching
the response back into the inspect tree.
This also caches the TTRPC connection to the guest so that only the first inspect request has to wait for the connection to be established.
Implementations§
Source§impl DiagInspector
impl DiagInspector
pub fn new(driver: DefaultDriver, diag_client: Arc<DiagClient>) -> Self
Trait Implementations§
Source§impl InspectMut for DiagInspector
impl InspectMut for DiagInspector
Source§fn inspect_mut(&mut self, req: Request<'_>)
fn inspect_mut(&mut self, req: Request<'_>)
Inspects the object.
Auto Trait Implementations§
impl Freeze for DiagInspector
impl !RefUnwindSafe for DiagInspector
impl Send for DiagInspector
impl Sync for DiagInspector
impl Unpin for DiagInspector
impl !UnwindSafe for DiagInspector
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