Enum nng::options::transport::websocket::RequestHeaders[][src]

pub enum RequestHeaders {}

A multiline string terminated by CRLF sequences, that can be used to add further headers to the HTTP request sent when connecting.

Support

  • Dialers can set this when using the WebSocket transport.
  • Pipes can read this value when using the WebSocket transport.
  • Sockets can set this to set a default value.

Trait Implementations

impl Clone for RequestHeaders[src]

impl Copy for RequestHeaders[src]

impl Debug for RequestHeaders[src]

impl Display for RequestHeaders[src]

impl Eq for RequestHeaders[src]

impl GetOpt<RequestHeaders> for Pipe[src]

impl Hash for RequestHeaders[src]

impl Opt for RequestHeaders[src]

type OptType = String

The type that the option read and writes.

impl Ord for RequestHeaders[src]

impl PartialEq<RequestHeaders> for RequestHeaders[src]

impl PartialOrd<RequestHeaders> for RequestHeaders[src]

impl SetOpt<RequestHeaders> for DialerBuilder[src]

impl SetOpt<RequestHeaders> for Socket[src]

impl StructuralEq for RequestHeaders[src]

impl StructuralPartialEq for RequestHeaders[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.