pub struct WireEntry {
pub seq: u64,
pub dir: WireDirection,
pub ts_ms: u64,
pub payload: Vec<u8>,
}Expand description
One recorded wire frame: sequence, direction, timestamp, raw payload.
Fields§
§seq: u64Monotonic per-recording sequence number, starting at 1.
dir: WireDirectionFrame direction relative to the client.
ts_ms: u64Wall-clock capture time as milliseconds since the Unix epoch.
payload: Vec<u8>Raw frame bytes (serialized as standard base64 under payload_b64).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WireEntry
impl<'de> Deserialize<'de> for WireEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WireEntry
impl StructuralPartialEq for WireEntry
Auto Trait Implementations§
impl Freeze for WireEntry
impl RefUnwindSafe for WireEntry
impl Send for WireEntry
impl Sync for WireEntry
impl Unpin for WireEntry
impl UnwindSafe for WireEntry
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