Struct nix::sys::socket::sockopt::Linger [-] [+] [src]

pub struct Linger;

Trait Implementations

impl SockOpt for Linger

type Val = linger

fn get(&self, fd: RawFd, level: c_int) -> Result<linger>

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

Derived Implementations

impl Debug for Linger

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

impl Copy for Linger

impl Clone for Linger

fn clone(&self) -> Linger

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