Struct encoding::codec::error::ErrorDecoder
[−]
[src]
pub struct ErrorDecoder;
A decoder that always returns error.
pub struct ErrorDecoder;
A decoder that always returns error.
impl ErrorDecoder
fn new() -> Box<RawDecoder>
impl RawDecoder for ErrorDecoder
fn from_self(&self) -> Box<RawDecoder>
fn raw_feed(&mut self, input: &[u8], _output: &mut StringWriter) -> (usize, Option<CodecError>)
fn raw_finish(&mut self, _output: &mut StringWriter) -> Option<CodecError>
fn is_ascii_compatible(&self) -> bool
impl Copy for ErrorDecoder
impl Clone for ErrorDecoder
fn clone(&self) -> ErrorDecoder
fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, type
, macro
,
and const
.
Search functions by type signature (e.g.
vec -> usize
)