Enum websocket::header::WebSocketVersion [−][src]
pub enum WebSocketVersion { WebSocket13, Unknown(String), }
Represents a Sec-WebSocket-Version header
Variants
The version of WebSocket defined in RFC6455
Unknown(String)
An unknown version of WebSocket
Trait Implementations
impl Clone for WebSocketVersion
[src][+]
impl Debug for WebSocketVersion
[src][+]
impl Display for WebSocketVersion
[src][+]
impl Header for WebSocketVersion
[src][+]
impl HeaderFormat for WebSocketVersion
[src][+]
impl PartialEq<WebSocketVersion> for WebSocketVersion
[src][+]
impl StructuralPartialEq for WebSocketVersion
[src]
Auto Trait Implementations
impl RefUnwindSafe for WebSocketVersion
impl Send for WebSocketVersion
impl Sync for WebSocketVersion
impl Unpin for WebSocketVersion
impl UnwindSafe for WebSocketVersion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> HeaderClone for T where
T: Sealed,
[src]
T: Sealed,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,