Struct widestring::MissingNulError [] [src]

pub struct MissingNulError(_);

An error returned from WideCString and WideCStr to indicate that a terminating nul value was missing.

The error optionally returns the ownership of the invalid vector whenever a vector was owned.

Methods

impl MissingNulError
[src]

fn into_vec(self) -> Option<Vec<u16>>

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

Trait Implementations

impl Eq for MissingNulError
[src]

impl PartialEq for MissingNulError
[src]

fn eq(&self, __arg_0: &MissingNulError) -> bool

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

fn ne(&self, __arg_0: &MissingNulError) -> bool

This method tests for !=.

impl Clone for MissingNulError
[src]

fn clone(&self) -> MissingNulError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for MissingNulError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for MissingNulError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for MissingNulError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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