Enum nng::options::Raw [−][src]
pub enum Raw {}
Expand description
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
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Raw
impl UnwindSafe for Raw
Blanket Implementations
Mutably borrows from an owned value. Read more