Struct widestring::MissingNulError[][src]

pub struct MissingNulError<C>(_);

An error returned from UCString and UCStr 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<C: UChar> MissingNulError<C>
[src]

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

Trait Implementations

impl<C: Debug> Debug for MissingNulError<C>
[src]

Formats the value using the given formatter. Read more

impl<C: Clone> Clone for MissingNulError<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: PartialEq> PartialEq for MissingNulError<C>
[src]

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

This method tests for !=.

impl<C: Eq> Eq for MissingNulError<C>
[src]

impl<C: UChar> Display for MissingNulError<C>
[src]

Formats the value using the given formatter. Read more

impl<C: UChar> Error for MissingNulError<C>
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl<C> Send for MissingNulError<C> where
    C: Send

impl<C> Sync for MissingNulError<C> where
    C: Sync