pub struct PacketCaptureParams<W: Write> {
pub operation: PacketCaptureOperation,
pub op_data: Option<OperationData<W>>,
}
Expand description
Additional parameters provided as part of a network packet capture trace.
Fields§
§operation: PacketCaptureOperation
Indicates the network capture operation.
op_data: Option<OperationData<W>>
Operational data that is specific to the given operation.
Trait Implementations§
Source§impl<W: Write> DefaultEncoding for PacketCaptureParams<W>
impl<W: Write> DefaultEncoding for PacketCaptureParams<W>
Source§impl<'encoding, W> StructDecodeMetadata<'encoding, Resource> for PacketCaptureParams<W>where
W: DefaultEncoding + Write,
W::Encoding: FieldDecode<'encoding, W, Resource>,
impl<'encoding, W> StructDecodeMetadata<'encoding, Resource> for PacketCaptureParams<W>where
W: DefaultEncoding + Write,
W::Encoding: FieldDecode<'encoding, W, Resource>,
Source§impl<W> StructEncodeMetadata<Resource> for PacketCaptureParams<W>where
W: DefaultEncoding + Write,
W::Encoding: FieldEncode<W, Resource>,
impl<W> StructEncodeMetadata<Resource> for PacketCaptureParams<W>where
W: DefaultEncoding + Write,
W::Encoding: FieldEncode<W, Resource>,
Auto Trait Implementations§
impl<W> Freeze for PacketCaptureParams<W>
impl<W> RefUnwindSafe for PacketCaptureParams<W>where
W: RefUnwindSafe,
impl<W> Send for PacketCaptureParams<W>where
W: Send,
impl<W> Sync for PacketCaptureParams<W>where
W: Sync,
impl<W> Unpin for PacketCaptureParams<W>where
W: Unpin,
impl<W> UnwindSafe for PacketCaptureParams<W>where
W: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size
].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message
].