Struct smallstr::FromUtf8Error [] [src]

pub struct FromUtf8Error<A: Array<Item = u8>> { /* fields omitted */ }

A possible error value when creating a SmallString from a byte array.

This type is the error type for the from_buf method on SmallString.

Methods

impl<A: Array<Item = u8>> FromUtf8Error<A>
[src]

[src]

Returns the slice of [u8] bytes that were attempted to convert to a SmallString.

[src]

Returns the byte array that was attempted to convert into a SmallString.

[src]

Returns the Utf8Error to get more details about the conversion failure.

Trait Implementations

impl<A: Debug + Array<Item = u8>> Debug for FromUtf8Error<A>
[src]

[src]

Formats the value using the given formatter. Read more

impl<A: Array<Item = u8>> Display for FromUtf8Error<A>
[src]

[src]

Formats the value using the given formatter. Read more

impl<A: Array<Item = u8> + Debug> Error for FromUtf8Error<A>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl<A> Send for FromUtf8Error<A> where
    A: Send

impl<A> Sync for FromUtf8Error<A> where
    A: Sync