Enum c_utf8::Error[][src]

pub enum Error {
    Nul,
    Utf8(Utf8Error),
}

The error for converting types to CUtf8.

Variants

An error indicating that the nul byte was not at the end.

An error indicating that input bytes were not encoded as UTF-8.

Trait Implementations

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl From<FromBytesWithNulError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error