Struct encoding::codec::ascii::ASCIIEncoding[][src]

pub struct ASCIIEncoding;

ASCII, also known as ISO/IEC 646:US.

It is both a basis and a lowest common denominator of many other encodings including UTF-8, which Rust internally assumes.

Trait Implementations

impl Clone for ASCIIEncoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ASCIIEncoding
[src]

impl Encoding for ASCIIEncoding
[src]

Returns the canonical name of given encoding. This name is guaranteed to be unique across built-in encodings, but it is not normative and would be at most arbitrary. Read more

Creates a new encoder.

Creates a new decoder.

Returns a name of given encoding defined in the WHATWG Encoding standard, if any. This name often differs from name due to the compatibility reason. Read more

An easy-to-use interface to RawEncoder. On the encoder error trap is called, which may return a replacement sequence to continue processing, or a failure to return the error. Read more

Encode into a ByteWriter.

An easy-to-use interface to RawDecoder. On the decoder error trap is called, which may return a replacement string to continue processing, or a failure to return the error. Read more

Decode into a StringWriter. Read more

Auto Trait Implementations

impl Send for ASCIIEncoding

impl Sync for ASCIIEncoding