pub struct EventFd { /* private fields */ }
Expand description
A safe wrapper around a Linux eventfd (man 2 eventfd).
An eventfd is useful because it is sendable across processes and can be used for signaling in and out of the KVM API. They can also be polled like any other file descriptor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventFd
impl RefUnwindSafe for EventFd
impl Send for EventFd
impl Sync for EventFd
impl Unpin for EventFd
impl UnwindSafe for EventFd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more