Enum univstring::ConversionError [] [src]

pub enum ConversionError<NE> {
    Nul(NE),
    InvalidChar(Utf8Error),
    InvalidWChar(FromUtf16Error),
}

An error description while converting strings

Variants

Trait Implementations

impl<NE: Debug> Debug for ConversionError<NE>
[src]

[src]

Formats the value using the given formatter.

impl<NE: Display> Display for ConversionError<NE>
[src]

[src]

Formats the value using the given formatter. Read more

impl<NE: Error> Error for ConversionError<NE>
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<CNulError> for ConversionError<CNulError>
[src]

[src]

Performs the conversion.

impl From<WideNulError> for ConversionError<WideNulError>
[src]

[src]

Performs the conversion.

impl<NE> From<Utf8Error> for ConversionError<NE>
[src]

[src]

Performs the conversion.

impl<NE> From<FromUtf16Error> for ConversionError<NE>
[src]

[src]

Performs the conversion.