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

pub struct ErrorEncoder;

An encoder that always returns error.

Methods

impl ErrorEncoder

fn new() -> Box<Encoder>

Trait Implementations

impl Encoder for ErrorEncoder

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

fn raw_feed(&mut self, input: &str, _output: &mut ByteWriter) -> (uint, Option<CodecError>)

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

fn is_ascii_compatible(&self) -> bool

Derived Implementations

impl Clone for ErrorEncoder

fn clone(&self) -> ErrorEncoder

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