Struct nix::sys::socket::sockopt::ReuseAddr [] [src]

pub struct ReuseAddr;

Trait Implementations

impl Debug for ReuseAddr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ReuseAddr
[src]

fn clone(&self) -> ReuseAddr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for ReuseAddr
[src]

impl SetSockOpt for ReuseAddr
[src]

type Val = bool

fn set(&self, fd: RawFd, val: &bool) -> Result<()>

impl GetSockOpt for ReuseAddr
[src]

type Val = bool

fn get(&self, fd: RawFd) -> Result<bool>