Struct EscapeBytes

struct EscapeBytes<'a> { ... }

An iterator of char values that represent an escaping of arbitrary bytes.

The lifetime parameter 'a refers to the lifetime of the bytes being escaped.

This iterator is created by the ByteSlice::escape_bytes method.

Implementations

impl<'a> Clone for EscapeBytes<'a>

fn clone(self: &Self) -> EscapeBytes<'a>

impl<'a> Debug for EscapeBytes<'a>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<'a> Display for EscapeBytes<'a>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<'a> Freeze for EscapeBytes<'a>

impl<'a> Iterator for EscapeBytes<'a>

fn next(self: &mut Self) -> Option<char>

impl<'a> RefUnwindSafe for EscapeBytes<'a>

impl<'a> Send for EscapeBytes<'a>

impl<'a> Sync for EscapeBytes<'a>

impl<'a> Unpin for EscapeBytes<'a>

impl<'a> UnsafeUnpin for EscapeBytes<'a>

impl<'a> UnwindSafe for EscapeBytes<'a>

impl<I> IntoIterator for EscapeBytes<'a>

fn into_iter(self: Self) -> I

impl<T> Any for EscapeBytes<'a>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EscapeBytes<'a>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for EscapeBytes<'a>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for EscapeBytes<'a>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for EscapeBytes<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for EscapeBytes<'a>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for EscapeBytes<'a>

fn to_string(self: &Self) -> String

impl<T, U> Into for EscapeBytes<'a>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for EscapeBytes<'a>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for EscapeBytes<'a>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>