pub struct HexDisplay<'a>(/* private fields */);Expand description
Provides Debug and Display impls for a byte slice.
Useful for displaying hex value without allocating via encode.
Trait Implementations§
Source§impl Debug for HexDisplay<'_>
impl Debug for HexDisplay<'_>
Auto Trait Implementations§
impl<'a> Freeze for HexDisplay<'a>
impl<'a> RefUnwindSafe for HexDisplay<'a>
impl<'a> Send for HexDisplay<'a>
impl<'a> Sync for HexDisplay<'a>
impl<'a> Unpin for HexDisplay<'a>
impl<'a> UnsafeUnpin for HexDisplay<'a>
impl<'a> UnwindSafe for HexDisplay<'a>
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