Struct nix::sys::select::FdSet[][src]

#[repr(C)]
pub struct FdSet(_);

Methods

impl FdSet
[src]

Finds the highest file descriptor in the set.

Returns None if the set is empty.

This can be used to calculate the nfds parameter of the select function.

Example

let mut set = FdSet::new();
set.insert(4);
set.insert(9);
assert_eq!(set.highest(), Some(9));

Trait Implementations

impl Clone for FdSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FdSet
[src]

Auto Trait Implementations

impl Send for FdSet

impl Sync for FdSet