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 Clone for ResponseHeaders
[src]fn clone(&self) -> ResponseHeaders
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ResponseHeaders
[src]
impl Copy for ResponseHeaders
[src]impl Eq for ResponseHeaders
[src]
impl Eq for ResponseHeaders
[src]impl GetOpt<ResponseHeaders> for Pipe
[src]
impl GetOpt<ResponseHeaders> for Pipe
[src]impl Hash for ResponseHeaders
[src]
impl Hash for ResponseHeaders
[src]impl Opt for ResponseHeaders
[src]
impl Opt for ResponseHeaders
[src]impl Ord for ResponseHeaders
[src]
impl Ord for ResponseHeaders
[src]impl PartialEq<ResponseHeaders> for ResponseHeaders
[src]
impl PartialEq<ResponseHeaders> for ResponseHeaders
[src]impl PartialOrd<ResponseHeaders> for ResponseHeaders
[src]
impl PartialOrd<ResponseHeaders> for ResponseHeaders
[src]fn partial_cmp(&self, other: &ResponseHeaders) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetOpt<ResponseHeaders> for ListenerBuilder
[src]
impl SetOpt<ResponseHeaders> for ListenerBuilder
[src]impl SetOpt<ResponseHeaders> for Socket
[src]
impl SetOpt<ResponseHeaders> for Socket
[src]impl StructuralEq for ResponseHeaders
[src]
impl StructuralEq for ResponseHeaders
[src]impl StructuralPartialEq for ResponseHeaders
[src]
impl StructuralPartialEq for ResponseHeaders
[src]Auto Trait Implementations
impl RefUnwindSafe for ResponseHeaders
impl RefUnwindSafe for ResponseHeaders
impl Send for ResponseHeaders
impl Send for ResponseHeaders
impl Sync for ResponseHeaders
impl Sync for ResponseHeaders
impl Unpin for ResponseHeaders
impl Unpin for ResponseHeaders
impl UnwindSafe for ResponseHeaders
impl UnwindSafe for ResponseHeaders