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

pub enum ResponseHeaders {}

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

Support

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

Trait Implementations

impl Clone for ResponseHeaders[src]

impl Copy for ResponseHeaders[src]

impl Debug for ResponseHeaders[src]

impl Display for ResponseHeaders[src]

impl Eq for ResponseHeaders[src]

impl GetOpt<ResponseHeaders> for Pipe[src]

impl Hash for ResponseHeaders[src]

impl Opt for ResponseHeaders[src]

type OptType = String

The type that the option read and writes.

impl Ord for ResponseHeaders[src]

impl PartialEq<ResponseHeaders> for ResponseHeaders[src]

impl PartialOrd<ResponseHeaders> for ResponseHeaders[src]

impl SetOpt<ResponseHeaders> for ListenerBuilder[src]

impl SetOpt<ResponseHeaders> for Socket[src]

impl StructuralEq for ResponseHeaders[src]

impl StructuralPartialEq for ResponseHeaders[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.