Struct encoding::codec::error::ErrorDecoderUnstable [-]  [+] [src]

pub struct ErrorDecoder;

A decoder that always returns error.

Methods

impl ErrorDecoder

fn new() -> Box<Decoder>

Trait Implementations

impl Decoder for ErrorDecoder

fn from_self(&self) -> Box<Decoder>

fn raw_feed(&mut self, input: &[u8], _output: &mut StringWriter) -> (uint, Option<CodecError>)

fn raw_finish(&mut self, _output: &mut StringWriter) -> Option<CodecError>

fn is_ascii_compatible(&self) -> bool

Derived Implementations

impl Clone for ErrorDecoder

fn clone(&self) -> ErrorDecoder

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