Enum nng::options::Raw[][src]

pub enum Raw {}

Whether or not the socket is in “raw” mode.

Raw mode sockets generally do not have any protocol-specific semantics applied to them; instead the application is expected to perform such semantics itself. (For example, in “cooked” mode a rep socket would automatically copy message headers from a received message to the corresponding reply, whereas in “raw” mode this is not done.)

See raw mode for more details.

Support

  • Sockets can read this option.
  • Dialers and Listeners can retrieve this from their owning Socket.

Trait Implementations

impl Clone for Raw[src]

impl Copy for Raw[src]

impl Debug for Raw[src]

impl Display for Raw[src]

impl Eq for Raw[src]

impl GetOpt<Raw> for Dialer[src]

impl GetOpt<Raw> for DialerBuilder[src]

impl GetOpt<Raw> for Listener[src]

impl GetOpt<Raw> for ListenerBuilder[src]

impl GetOpt<Raw> for Socket[src]

impl Hash for Raw[src]

impl Opt for Raw[src]

type OptType = bool

The type that the option read and writes.

impl Ord for Raw[src]

impl PartialEq<Raw> for Raw[src]

impl PartialOrd<Raw> for Raw[src]

impl StructuralEq for Raw[src]

impl StructuralPartialEq for Raw[src]

Auto Trait Implementations

impl RefUnwindSafe for Raw

impl Send for Raw

impl Sync for Raw

impl Unpin for Raw

impl UnwindSafe for Raw

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.