pub trait ByteEncoder: Default {
    type Encoder: EncodeBytes + From<Self>;
}
Expand description

Provides an instance of byte-to-string encoder.

This is basically a type constructor used in places where value arguments are not accepted. Such as the generic serialize.

Required Associated Types§

source

type Encoder: EncodeBytes + From<Self>

The encoder state.

Implementors§

source§

impl<C: Case> ByteEncoder for Hex<C>

§

type Encoder = Encoder<C>