Struct websocket::header::extensions::Extension
[−]
[src]
pub struct Extension {
pub name: String,
pub params: Vec<Parameter>,
}A WebSocket extension
Fields
name: String
The name of this extension
params: Vec<Parameter>
The parameters for this extension
Methods
impl Extension[src]
Trait Implementations
impl PartialEq for Extension[src]
fn eq(&self, __arg_0: &Extension) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Extension) -> bool[src]
This method tests for !=.
impl Clone for Extension[src]
fn clone(&self) -> Extension[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Extension[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl FromStr for Extension[src]
type Err = WebSocketError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> WebSocketResult<Extension>[src]
Parses a string s to return a value of this type. Read more