pub struct EscapedBytes<'a>(pub &'a [u8]);Expand description
A wrapper for bytes that implements Display with escaping.
Tuple Fields§
§0: &'a [u8]Trait Implementations§
Source§impl Debug for EscapedBytes<'_>
impl Debug for EscapedBytes<'_>
Auto Trait Implementations§
impl<'a> Freeze for EscapedBytes<'a>
impl<'a> RefUnwindSafe for EscapedBytes<'a>
impl<'a> Send for EscapedBytes<'a>
impl<'a> Sync for EscapedBytes<'a>
impl<'a> Unpin for EscapedBytes<'a>
impl<'a> UnwindSafe for EscapedBytes<'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