[][src]Module ptero::encoder

Contains secret data encoders both simple and complex ones.

Structs

EncodingError

Represents encoding error. Concrete error if differentiated by the EncodingErrorKind

Enums

EncoderResult

Possible results of data encoding

EncodingErrorKind

Enum for data encoding errors types

Traits

Capacity

Trait that should be implemented by the Encoders. Gives amount of bits that are encoded per text fragment. Concrete text fragment (e.g. line) is determined by the Context.

Encoder

Base trait for all data encoders. The generic type should contain data need by the encoder implementation.