pub(crate) struct Waker {
fd: File,
}
Expand description
Waker backed by eventfd
.
eventfd
is effectively an 64 bit counter. All writes must be of 8
bytes (64 bits) and are converted (native endian) into an 64 bit
unsigned integer and added to the count. Reads must also be 8 bytes and
reset the count to 0, returning the count.
Fields§
§fd: File
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Waker
impl RefUnwindSafe for Waker
impl Send for Waker
impl Sync for Waker
impl Unpin for Waker
impl UnwindSafe for Waker
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