Struct inspect::Inspection
source · pub struct Inspection { /* private fields */ }
Expand description
An active inspection, returned by inspect()
or InspectionBuilder::inspect()
.
Implementations§
source§impl Inspection
impl Inspection
sourcepub async fn resolve(&mut self)
pub async fn resolve(&mut self)
Resolves any deferred inspection nodes, waiting indefinitely until they are responded to.
This future may be dropped (e.g. after a timeout) to stop collecting inspection results without losing results that have already been collected.
sourcepub fn results(self) -> Node
pub fn results(self) -> Node
Returns the current results of the inspection.
This may have unresolved nodes if Self::resolve
was not called or
was cancelled before it completed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inspection
impl !RefUnwindSafe for Inspection
impl Send for Inspection
impl Sync for Inspection
impl Unpin for Inspection
impl !UnwindSafe for Inspection
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