shadow_rs::utility::pcap_writer

Trait PacketDisplay

source
pub trait PacketDisplay {
    // Required method
    fn display_bytes(&self, writer: impl Write) -> Result<()>;
}

Required Methods§

source

fn display_bytes(&self, writer: impl Write) -> Result<()>

Write the packet bytes.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PacketDisplay for *const Packet

source§

fn display_bytes(&self, writer: impl Write) -> Result<()>

Implementors§