pub enum SocketOptions {
ReuseAddr(SoReuseAddr),
RecvBufSize(SoRecvBufSize),
SendBufSize(SoSendBufSize),
RecvTimeout(SoRecvTimeout),
SendTimeout(SoSendTimeout),
}Variants§
ReuseAddr(SoReuseAddr)
RecvBufSize(SoRecvBufSize)
SendBufSize(SoSendBufSize)
RecvTimeout(SoRecvTimeout)
SendTimeout(SoSendTimeout)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SocketOptions
impl RefUnwindSafe for SocketOptions
impl Send for SocketOptions
impl Sync for SocketOptions
impl Unpin for SocketOptions
impl UnsafeUnpin for SocketOptions
impl UnwindSafe for SocketOptions
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