Trait fluent_uri::encoding::Encoder

source ·
pub trait Encoder: 'static {
    const TABLE: &'static Table;
}
Expand description

A trait used by EStr and EString to specify the table used for encoding.

§Sub-encoders

A sub-encoder SubE of E is an encoder such that SubE::TABLE is a subset of E::TABLE.

Required Associated Constants§

source

const TABLE: &'static Table

The table used for encoding.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Encoder for Data

source§

const TABLE: &'static Table = _

source§

impl Encoder for Fragment

source§

const TABLE: &'static Table = FRAGMENT

source§

impl Encoder for Path

source§

const TABLE: &'static Table = PATH

source§

impl Encoder for Port

source§

const TABLE: &'static Table = DIGIT

source§

impl Encoder for Query

source§

const TABLE: &'static Table = QUERY

source§

impl Encoder for RegName

source§

const TABLE: &'static Table = REG_NAME

source§

impl Encoder for Userinfo

source§

const TABLE: &'static Table = USERINFO