Enum hyper::header::MediaDesc [] [src]

pub enum MediaDesc {
    Screen,
    Tty,
    Tv,
    Projection,
    Handheld,
    Print,
    Braille,
    Aural,
    All,
    Extension(String),
}

A Media Descriptors Enum based on: https://www.w3.org/TR/html401/types.html#h-6.13

Variants

screen.

tty.

tv.

projection.

handheld.

print.

braille.

aural.

all.

Unrecognized media descriptor extension.

Trait Implementations

impl Clone for MediaDesc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MediaDesc
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for MediaDesc
[src]

Formats the value using the given formatter.

impl Display for MediaDesc
[src]

Formats the value using the given formatter. Read more

impl FromStr for MediaDesc
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more