pub struct SocketReuseAddress;Expand description
Boolean SO_REUSEADDR. Set before binding when required by the application.
This preserves OS-specific address-sharing rules, including Windows allowing an already-used address to be rebound. It does not provide portable exclusive binding or SO_REUSEPORT semantics.
Trait Implementations§
Source§impl Clone for SocketReuseAddress
impl Clone for SocketReuseAddress
impl Copy for SocketReuseAddress
Source§impl Debug for SocketReuseAddress
impl Debug for SocketReuseAddress
Source§impl SocketOption for SocketReuseAddress
impl SocketOption for SocketReuseAddress
Auto Trait Implementations§
impl Freeze for SocketReuseAddress
impl RefUnwindSafe for SocketReuseAddress
impl Send for SocketReuseAddress
impl Sync for SocketReuseAddress
impl Unpin for SocketReuseAddress
impl UnsafeUnpin for SocketReuseAddress
impl UnwindSafe for SocketReuseAddress
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