pub struct OutboundFrame {
pub frame: Frame,
pub enqueued_at: Instant,
/* private fields */
}Expand description
One queued outbound frame plus the instant it entered the writer queue.
The stamp exists for the reply-path half of slow-control diagnosis: a
handler can finish in microseconds while the reply sits in this queue
waiting for the writer task to be scheduled, and without a per-item stamp
that wait is invisible to every other timing point (the client’s round
trip is the only witness, and it cannot say which side ate the time).
Constructed exclusively inside FrameSink so no caller can forget it.
Fields§
§frame: Frame§enqueued_at: InstantTrait Implementations§
Source§impl Debug for OutboundFrame
impl Debug for OutboundFrame
Auto Trait Implementations§
impl !RefUnwindSafe for OutboundFrame
impl !UnwindSafe for OutboundFrame
impl Freeze for OutboundFrame
impl Send for OutboundFrame
impl Sync for OutboundFrame
impl Unpin for OutboundFrame
impl UnsafeUnpin for OutboundFrame
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