pub struct WakeSignal { /* private fields */ }Expand description
Signal for waking the consumer when new data is available.
In production this will wrap an eventfd file descriptor.
For testing without io_uring, it uses a simple atomic flag + thread parking.
Implementations§
Source§impl WakeSignal
impl WakeSignal
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for WakeSignal
impl RefUnwindSafe for WakeSignal
impl Send for WakeSignal
impl Sync for WakeSignal
impl Unpin for WakeSignal
impl UnsafeUnpin for WakeSignal
impl UnwindSafe for WakeSignal
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