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

pub struct ReceiveTimeout;

Trait Implementations

impl Debug for ReceiveTimeout
[src]

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

Formats the value using the given formatter.

impl Clone for ReceiveTimeout
[src]

fn clone(&self) -> ReceiveTimeout

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

impl SetSockOpt for ReceiveTimeout
[src]

type Val = TimeVal

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

impl GetSockOpt for ReceiveTimeout
[src]

type Val = TimeVal

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