Struct headers_ext::SecWebsocketVersion[][src]

pub struct SecWebsocketVersion(_);

The Sec-Websocket-Version header.

Methods

impl SecWebsocketVersion
[src]

V13: SecWebsocketVersion = SecWebsocketVersion(13)

Sec-Websocket-Version: 13

Trait Implementations

impl Clone for SecWebsocketVersion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SecWebsocketVersion
[src]

impl Debug for SecWebsocketVersion
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SecWebsocketVersion
[src]

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

This method tests for !=.

impl Eq for SecWebsocketVersion
[src]

impl Hash for SecWebsocketVersion
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Header for SecWebsocketVersion
[src]

NAME: &'static HeaderName = &::http::header::SEC_WEBSOCKET_VERSION

The name of this header.

Decode this type from a HeaderValue.

Encode this type to a HeaderMap. Read more

Auto Trait Implementations