epoll::EPOLLHUP
[−]
pub const EPOLLHUP: Events=
Events{bits: libc::EPOLLHUP as u32,}
Hang up happened on the associated file descriptor.
wait
will always wait for this event; it is not necessary to set it in events.
Note that when reading from a channel such as a pipe or a stream socket, this event
merely indicates that the peer closed its end of the channel. Subsequent reads from
the channel will return 0 (end of file) only after all outstanding data in the
channel has been consumed.