fluent_uri::encoding

Trait 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 IData

source§

const TABLE: &'static Table = _

source§

impl Encoder for IFragment

source§

const TABLE: &'static Table = IFRAGMENT

source§

impl Encoder for IPath

source§

const TABLE: &'static Table = IPATH

source§

impl Encoder for IQuery

source§

const TABLE: &'static Table = IQUERY

source§

impl Encoder for IRegName

source§

const TABLE: &'static Table = IREG_NAME

source§

impl Encoder for IUserinfo

source§

const TABLE: &'static Table = IUSERINFO

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