pub struct WakerInternal {
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§
source§impl AsRawFd for WakerInternal
impl AsRawFd for WakerInternal
Auto Trait Implementations§
impl RefUnwindSafe for WakerInternal
impl Send for WakerInternal
impl Sync for WakerInternal
impl Unpin for WakerInternal
impl UnwindSafe for WakerInternal
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