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§
Source§impl Ord for Raw
impl Ord for Raw
Source§impl PartialOrd for Raw
impl PartialOrd for Raw
impl Copy for Raw
impl Eq for Raw
impl GetOpt<Raw> for Dialer
impl GetOpt<Raw> for DialerBuilder
impl GetOpt<Raw> for Listener
impl GetOpt<Raw> for ListenerBuilder
impl GetOpt<Raw> for Socket
impl StructuralPartialEq for Raw
Auto Trait Implementations§
impl Freeze for Raw
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnwindSafe for Raw
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more