Struct widestring::NulError [] [src]

pub struct NulError(_, _);

An error returned from WideCString to indicate that an invalid nul value was found.

The error indicates the position in the vector where the nul value was found, as well as returning the ownership of the invalid vector.

Methods

impl NulError
[src]

Returns the position of the nul value in the slice that was provided to WideCString.

Consumes this error, returning the underlying vector of u16 values which generated the error in the first place.

Trait Implementations

impl Debug for NulError
[src]

Formats the value using the given formatter.

impl Clone for NulError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for NulError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NulError
[src]

impl Into<Vec<u16>> for NulError
[src]

Performs the conversion.

impl Display for NulError
[src]

Formats the value using the given formatter. Read more

impl Error for NulError
[src]

A short description of the error. Read more

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