[][src]Struct widestring::MissingNulError

pub struct MissingNulError<C> { /* fields omitted */ }

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.

Implementations

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

pub fn into_vec(self) -> Option<Vec<C>>[src]

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

Trait Implementations

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

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

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

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

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

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

impl<C> StructuralEq for MissingNulError<C>[src]

impl<C> StructuralPartialEq for MissingNulError<C>[src]

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.