[][src]Enum rut::DecoderResult

pub enum DecoderResult {
    Continue,
    Char(char),
    Error(Error),
}

Result type for the Decoder::decode_byte method.

Note that this is not an alias for Rust's default Result type.

Variants

Continue

A byte was decoded successfully.

Char(char)

A character was decoded successfully.

Error(Error)

An error occured.

Trait Implementations

impl Clone for DecoderResult[src]

impl Copy for DecoderResult[src]

impl Debug for DecoderResult[src]

impl Eq for DecoderResult[src]

impl PartialEq<DecoderResult> for DecoderResult[src]

impl StructuralEq for DecoderResult[src]

impl StructuralPartialEq for DecoderResult[src]

Auto Trait Implementations

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, 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.