Struct bytes_utils::string::Utf8Error[][src]

pub struct Utf8Error<S> { /* fields omitted */ }

Error when creating Str or StrMut from invalid UTF8 data.

Implementations

impl<S> Utf8Error<S>[src]

pub fn into_inner(self) -> S[src]

Returns the byte buffer back to the caller.

pub fn utf8_error(&self) -> Utf8Error[src]

The inner description of why the data is invalid UTF8.

Trait Implementations

impl<S: Clone> Clone for Utf8Error<S>[src]

impl<S: Copy> Copy for Utf8Error<S>[src]

impl<S: Debug> Debug for Utf8Error<S>[src]

impl<S> Display for Utf8Error<S>[src]

impl<S: Debug> Error for Utf8Error<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Utf8Error<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for Utf8Error<S> where
    S: Send
[src]

impl<S> Sync for Utf8Error<S> where
    S: Sync
[src]

impl<S> Unpin for Utf8Error<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for Utf8Error<S> where
    S: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.