Enum encode_unicode::error::Utf16PairError[][src]

pub enum Utf16PairError {
    UnexpectedTrailingSurrogate,
    UnmatchedLeadingSurrogate,
    Incomplete,
}

Types of invalid sequences encountered by Utf16CharParser.

Variants

UnexpectedTrailingSurrogate

A trailing surrogate was not preceeded by a leading surrogate.

UnmatchedLeadingSurrogate

A leading surrogate was followed by an unit that was not a trailing surrogate.

Incomplete

A trailing surrogate was expected when the end was reached.

Trait Implementations

impl Clone for Utf16PairError[src]

impl Copy for Utf16PairError[src]

impl Debug for Utf16PairError[src]

impl Display for Utf16PairError[src]

impl Eq for Utf16PairError[src]

impl Error for Utf16PairError[src]

impl PartialEq<Utf16PairError> for Utf16PairError[src]

impl StructuralEq for Utf16PairError[src]

impl StructuralPartialEq for Utf16PairError[src]

Auto Trait Implementations

impl RefUnwindSafe for Utf16PairError

impl Send for Utf16PairError

impl Sync for Utf16PairError

impl Unpin for Utf16PairError

impl UnwindSafe for Utf16PairError

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.