pub struct DisplayBytes<'b, F: 'b> { /* private fields */ }
Expand description
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
to get an instance of this type.
Trait Implementations§
Source§impl<'b, F: Debug + 'b> Debug for DisplayBytes<'b, F>
impl<'b, F: Debug + 'b> Debug for DisplayBytes<'b, F>
Auto Trait Implementations§
impl<'b, F> !Freeze for DisplayBytes<'b, F>
impl<'b, F> !RefUnwindSafe for DisplayBytes<'b, F>
impl<'b, F> Send for DisplayBytes<'b, F>
impl<'b, F> !Sync for DisplayBytes<'b, F>
impl<'b, F> Unpin for DisplayBytes<'b, F>where
F: Unpin,
impl<'b, F> UnwindSafe for DisplayBytes<'b, F>where
F: UnwindSafe + RefUnwindSafe,
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