pub struct SocketSendFlags {
pub dont_route: bool,
}Expand description
Portable input flags for socket send operations. Additional platform-specific flags belong in extension capabilities.
Fields§
§dont_route: boolAsk the OS to send directly to a local network without routing (MSG_DONTROUTE). Protocols may reject this or ignore it.
Trait Implementations§
Source§impl Clone for SocketSendFlags
impl Clone for SocketSendFlags
impl Copy for SocketSendFlags
Source§impl Debug for SocketSendFlags
impl Debug for SocketSendFlags
Source§impl Default for SocketSendFlags
impl Default for SocketSendFlags
impl Eq for SocketSendFlags
Source§impl PartialEq for SocketSendFlags
impl PartialEq for SocketSendFlags
impl StructuralPartialEq for SocketSendFlags
Auto Trait Implementations§
impl Freeze for SocketSendFlags
impl RefUnwindSafe for SocketSendFlags
impl Send for SocketSendFlags
impl Sync for SocketSendFlags
impl Unpin for SocketSendFlags
impl UnsafeUnpin for SocketSendFlags
impl UnwindSafe for SocketSendFlags
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