pub struct StartData<W: Write> {
pub snaplen: u32,
pub writers: Vec<W>,
}
Expand description
Defines start operation data.
Fields§
§snaplen: u32
§writers: Vec<W>
Trait Implementations§
Source§impl<'encoding, W> StructDecodeMetadata<'encoding, Resource> for StartData<W>where
W: DefaultEncoding + Write,
W::Encoding: FieldDecode<'encoding, W, Resource>,
impl<'encoding, W> StructDecodeMetadata<'encoding, Resource> for StartData<W>where
W: DefaultEncoding + Write,
W::Encoding: FieldDecode<'encoding, W, Resource>,
Auto Trait Implementations§
impl<W> Freeze for StartData<W>
impl<W> RefUnwindSafe for StartData<W>where
W: RefUnwindSafe,
impl<W> Send for StartData<W>where
W: Send,
impl<W> Sync for StartData<W>where
W: Sync,
impl<W> Unpin for StartData<W>where
W: Unpin,
impl<W> UnwindSafe for StartData<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
].