pub struct WithTracker<T> {
pub value: T,
pub tracker: Arc<SchemaRecvTracker>,
pub fds: FrameFds,
}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>§fds: FrameFdsDescriptors that arrived with this response frame (SCM_RIGHTS).
The generated client installs these as the
provide_fds source around the typed-return
decode. () off-Unix.
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
Source§impl<T, A> DynAccess<T> for A
impl<T, A> DynAccess<T> for A
Source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load.