Module smoltcp::wire::pretty_print [] [src]

Pretty-printing of packet representation.

The pretty_print module provides bits and pieces for printing concise, easily human readable packet listings.

Example

A packet can be formatted using the PrettyPrinter wrapper:

print!("{}", PrettyPrinter::<EthernetFrame<_>>::new("", &buffer))

Structs

PrettyIndent

Indentation state.

PrettyPrinter

Wrapper for using a PrettyPrint where a Display is expected.

Traits

PrettyPrint

Interface for printing listings.