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

pub struct Linger;

Trait Implementations

impl Debug for Linger
[src]

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

Formats the value using the given formatter.

impl Clone for Linger
[src]

fn clone(&self) -> Linger

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 Linger
[src]

impl SetSockOpt for Linger
[src]

type Val = linger

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

impl GetSockOpt for Linger
[src]

type Val = linger

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