Struct smoltcp::phy::Tracer [] [src]

pub struct Tracer<T: Device, U: PrettyPrint> { /* fields omitted */ }

A tracer device.

A tracer is a device that prints all packets traversing it to the standard output, and delegates to another device otherwise.

Methods

impl<T: Device, U: PrettyPrint> Tracer<T, U>
[src]

Create a tracer device.

Create a tracer device, printing to standard output.

Return the underlying device, consuming the tracer.

Trait Implementations

impl<T: Device, U: PrettyPrint> Device for Tracer<T, U>
[src]

Get maximum transmission unit. Read more

Receive a frame. Read more

Transmit a frame. Read more