Struct encoding::codec::error::ErrorEncoder
[−]
[src]
pub struct ErrorEncoder;
An encoder that always returns error.
pub struct ErrorEncoder;
An encoder that always returns error.
impl ErrorEncoder
fn new() -> Box<RawEncoder>
impl RawEncoder for ErrorEncoder
fn from_self(&self) -> Box<RawEncoder>
fn raw_feed(&mut self, input: &str, _output: &mut ByteWriter) -> (usize, Option<CodecError>)
fn raw_finish(&mut self, _output: &mut ByteWriter) -> Option<CodecError>
fn is_ascii_compatible(&self) -> bool
impl Copy for ErrorEncoder
impl Clone for ErrorEncoder
fn clone(&self) -> ErrorEncoder
fn clone_from(&mut self, source: &Self)