Struct EscapeBytes
pub struct EscapeBytes<'a> { /* private fields */ }
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.
Trait Implementations
impl<'a> Clone for EscapeBytes<'a>
fn clone(&self) -> EscapeBytes<'a>
impl<'a> Debug for EscapeBytes<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> Display for EscapeBytes<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> Iterator for EscapeBytes<'a>
type Item = char;fn next(&mut self) -> Option<char>
Auto Trait Implementations
impl<'a> Freeze for EscapeBytes<'a>
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>
Blanket Implementations
impl<I> IntoIterator for EscapeBytes<'a>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for EscapeBytes<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for EscapeBytes<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for EscapeBytes<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for EscapeBytes<'a>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for EscapeBytes<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for EscapeBytes<'a>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for EscapeBytes<'a>
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for EscapeBytes<'a>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for EscapeBytes<'a>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for EscapeBytes<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>