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 Copy for ReuseAddr
[src]

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 SockOpt for ReuseAddr
[src]

type Val = bool

fn get(&self, fd: Fd, level: c_int) -> Result<bool>

fn set(&self, fd: Fd, level: c_int, val: &bool) -> Result<()>