pub struct WithTracker<T> {
pub value: T,
pub tracker: Arc<SchemaRecvTracker>,
}Expand description
Pairs a value with the SchemaRecvTracker that was active when the value
was received. Used to thread per-message schema context through the caller
API without storing trackers on long-lived structs.
Fields§
§value: T§tracker: Arc<SchemaRecvTracker>Trait Implementations§
Source§impl<T> Debug for WithTracker<T>
impl<T> Debug for WithTracker<T>
Source§impl<T> Deref for WithTracker<T>
impl<T> Deref for WithTracker<T>
Auto Trait Implementations§
impl<T> Freeze for WithTracker<T>where
T: Freeze,
impl<T> RefUnwindSafe for WithTracker<T>where
T: RefUnwindSafe,
impl<T> Send for WithTracker<T>where
T: Send,
impl<T> Sync for WithTracker<T>where
T: Sync,
impl<T> Unpin for WithTracker<T>where
T: Unpin,
impl<T> UnsafeUnpin for WithTracker<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WithTracker<T>where
T: 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