Enum hpack_codec::table::StaticEntry [] [src]

pub enum StaticEntry {
    Authority,
    Method,
    MethodGet,
    MethodPost,
    Path,
    PathRoot,
    PathIndexHtml,
    Scheme,
    SchemeHttp,
    SchemeHttps,
    Status,
    Status200,
    Status204,
    Status206,
    Status304,
    Status400,
    Status404,
    Status500,
    AcceptCharset,
    AcceptEncoding,
    AcceptEncodingGzipDeflate,
    AcceptLanguage,
    AcceptRanges,
    Accept,
    AccessControlAllowOrigin,
    Age,
    Allow,
    Authorization,
    CacheControl,
    ContentDisposition,
    ContentEncoding,
    ContentLanguage,
    ContentLength,
    ContentLocation,
    ContentRange,
    ContentType,
    Cookie,
    Date,
    Etag,
    Expect,
    Expires,
    From,
    Host,
    IfMatch,
    IfModifiedSince,
    IfNoneMatch,
    IfRange,
    IfUnmodifiedSince,
    LastModified,
    Link,
    Location,
    MaxForwards,
    ProxyAuthenticate,
    ProxyAuthorization,
    Range,
    Referer,
    Refresh,
    RetryAfter,
    Server,
    SetCookie,
    StrictTransportSecurity,
    TransferEncoding,
    UserAgent,
    Vary,
    Via,
    WwwAuthenticate,
}

A list specifying the entries of the static table.

See: [Appendix A. Static Table Definition)(https://tools.ietf.org/html/rfc7541#appendix-A)

Variants

This is an alias of MethodGet.

This is an alias of PathRoot.

This is an alias of SchemeHttp.

This is an alias of Status200.

This is an alias of AcceptEncodingGzipDeflate.

Methods

impl StaticEntry
[src]

[src]

Returns the entries count of the static table.

Examples

use hpack_codec::table::StaticEntry;

assert_eq!(StaticEntry::entries_count(), 61);

[src]

Makes a new StaticEntry instance associated with the specified index.

If the value of index is greater than StaticEntry::entries_count(), this function will return None.

Trait Implementations

impl Debug for StaticEntry
[src]

[src]

Formats the value using the given formatter.

impl Clone for StaticEntry
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StaticEntry
[src]