Struct WireEntry
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§
§impl<'de> Deserialize<'de> for WireEntry
impl<'de> Deserialize<'de> for WireEntry
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WireEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WireEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for WireEntry
impl Serialize for WireEntry
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more