Struct display_bytes::DisplayBytes [] [src]

pub struct DisplayBytes<'b, F: ?Sized + 'b> { /* fields omitted */ }

A wrapper around a byte sequence which implements Display.

Non-decodable byte sequences will be printed in human-readable representation based on the byte format F. Use DisplayBytesConfig or the free function display_bytes() in this crate to get an instance of this type.

Trait Implementations

impl<'b, F: Debug + ?Sized + 'b> Debug for DisplayBytes<'b, F>
[src]

Formats the value using the given formatter.

impl<'b, F: ?Sized + 'b> Clone for DisplayBytes<'b, F>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'b, F: ?Sized + ByteFormat + 'b> Display for DisplayBytes<'b, F>
[src]

Formats the value using the given formatter. Read more