pub struct EngineMetricsObserver { /* private fields */ }Expand description
Sole observer for one accepted operational snapshot with staged capture points.
Implementations§
Source§impl EngineMetricsObserver
impl EngineMetricsObserver
Sourcepub fn wait(self) -> Result<EngineMetricsSnapshot, EngineMetricsObserverError>
pub fn wait(self) -> Result<EngineMetricsSnapshot, EngineMetricsObserverError>
Blocks on the same terminal observation used by Future::poll.
Trait Implementations§
Source§impl Debug for EngineMetricsObserver
impl Debug for EngineMetricsObserver
Source§impl Future for EngineMetricsObserver
impl Future for EngineMetricsObserver
Source§type Output = Result<EngineMetricsSnapshot, EngineMetricsObserverError>
type Output = Result<EngineMetricsSnapshot, EngineMetricsObserverError>
The type of value produced on completion.
Auto Trait Implementations§
impl Freeze for EngineMetricsObserver
impl RefUnwindSafe for EngineMetricsObserver
impl Send for EngineMetricsObserver
impl Sync for EngineMetricsObserver
impl Unpin for EngineMetricsObserver
impl UnsafeUnpin for EngineMetricsObserver
impl UnwindSafe for EngineMetricsObserver
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more