iri-rfc3987 0.1.6

Zero-copy parsing, validation, and resolution for Internationalized Resource Identifiers
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! The [`Encoder`] trait.

use super::table::Table;

/// A trait used by [`EStr`] to specify the table used for encoding.
///
/// [`EStr`]: super::EStr
pub(crate) trait Encoder: 'static {
    /// The table used for encoding.
    const TABLE: Table;
}