pub struct IoHooks {
pub sent: SentTracker,
pub clock: Option<PhaseClock>,
}Expand description
What a tracked stream reports to: the exchange’s SentTracker and,
under an enabled phase policy, its phase clock (spec 020, 3.4). A pooled
connection (spec 020, 3.5) carries several exchanges, one at a time, so
its hooks are swapped for each.
Fields§
§sent: SentTracker§clock: Option<PhaseClock>Trait Implementations§
Auto Trait Implementations§
impl Freeze for IoHooks
impl RefUnwindSafe for IoHooks
impl Send for IoHooks
impl Sync for IoHooks
impl Unpin for IoHooks
impl UnsafeUnpin for IoHooks
impl UnwindSafe for IoHooks
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