pub struct Packet<'a> {
pub message: TracingWire<'a>,
pub tick: u64,
}Expand description
A tracing wire Packet type
This type is the “outer wrapper”, typically sent as the single message on the wire. Devices producing tracing messages will emit a stream of Packets, which will be individually processed by the remote collector
Fields§
§message: TracingWire<'a>§tick: u64Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Packet<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Packet<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for Packet<'a>
impl<'a> !RefUnwindSafe for Packet<'a>
impl<'a> Send for Packet<'a>where
'a: 'static,
impl<'a> !Sync for Packet<'a>
impl<'a> Unpin for Packet<'a>
impl<'a> !UnwindSafe for Packet<'a>
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