Struct vhost_user_backend::VringEpollHandler
source · pub struct VringEpollHandler<S, V, B> { /* private fields */ }
Expand description
Epoll event handler to manage and process epoll events for registered file descriptor.
The VringEpollHandler
structure provides interfaces to:
- add file descriptors to be monitored by the epoll fd
- remove registered file descriptors from the epoll fd
- run the event loop to handle pending events on the epoll fd
Implementations§
source§impl<S, V, B> VringEpollHandler<S, V, B>
impl<S, V, B> VringEpollHandler<S, V, B>
sourcepub fn send_exit_event(&self)
pub fn send_exit_event(&self)
Send exit event
to break the event loop.