pub struct FrameRecord<F> {
pub at: Instant,
pub frame: F,
}Expand description
One inbound frame of a recorded session, with the instant it arrived.
A session is a list of these. Replay it with Harness::run_frames.
Fields§
§at: InstantWhen the frame arrived, on the harness’s virtual clock.
frame: FThe frame, in the core’s BrokerCore::Frame type.
Implementations§
Trait Implementations§
Source§impl<F: Clone> Clone for FrameRecord<F>
impl<F: Clone> Clone for FrameRecord<F>
Source§fn clone(&self) -> FrameRecord<F>
fn clone(&self) -> FrameRecord<F>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<F> Freeze for FrameRecord<F>where
F: Freeze,
impl<F> RefUnwindSafe for FrameRecord<F>where
F: RefUnwindSafe,
impl<F> Send for FrameRecord<F>where
F: Send,
impl<F> Sync for FrameRecord<F>where
F: Sync,
impl<F> Unpin for FrameRecord<F>where
F: Unpin,
impl<F> UnsafeUnpin for FrameRecord<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FrameRecord<F>where
F: 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