pub fn listener(num: usize) -> Result<Socket, Error> {
    debug!("Finding socket for number: {}", num);
    listen_fds(false, LISTEN_FDS_START).and_then(|s| {
        s.get(num)
            .cloned()
            .ok_or_else(|| Error::from(ErrorKind::NotFound))
    })
}
/// Returns the first listener for a file descriptor number.
Returns the first listener for a file descriptor number.
Returns the first listener for a file descriptor number .
pub fn listener(num: usize) -> Result<Socket, Error> {
    debug!("Finding socket for number: {}", num);
    listen_fds(false, LISTEN_FDS_START).and_then(|s| {
        s.get(num)
            .cloned()
            .ok_or_else(|| Error::from(ErrorKind::NotFound))
    })
}
pub fn listener ( num : usize ) -> Result < Socket , Error > { debug ! ( " " num ) ; listen_fds ( false , LISTEN_FDS_START ) . and_then ( | s | { s . get ( num ) . cloned ( ) . ok_or_else ( | | Error :: from ( ErrorKind :: NotFound ) ) } ) }
Returns the first listener for a file descriptor number.
Returns the first listener for a file descriptor number .
num
usize
num
usize