pub struct RunTrackerHandle(pub Arc<dyn RunTracker>);Expand description
Host-injected crate::RunTracker (server ActiveRuns).
Overlay / ServerRuntime provide this so Execute can attach a tracker
without naming the server type.
Tuple Fields§
§0: Arc<dyn RunTracker>Implementations§
Source§impl RunTrackerHandle
impl RunTrackerHandle
Sourcepub fn new(inner: Arc<dyn RunTracker>) -> Self
pub fn new(inner: Arc<dyn RunTracker>) -> Self
Wrap a host tracker (typically ActiveRuns).
Trait Implementations§
Source§impl Service for RunTrackerHandle
impl Service for RunTrackerHandle
Auto Trait Implementations§
impl !RefUnwindSafe for RunTrackerHandle
impl !UnwindSafe for RunTrackerHandle
impl Freeze for RunTrackerHandle
impl Send for RunTrackerHandle
impl Sync for RunTrackerHandle
impl Unpin for RunTrackerHandle
impl UnsafeUnpin for RunTrackerHandle
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