pub struct WakeUp {
pub on: WakeUpOn,
pub on_aux_bytes: u32,
}
Expand description
Wake up options for asynchronous iterators.
Fields§
§on: WakeUpOn
When to wake up asynchronous iterators.
on_aux_bytes: u32
Wake up asynchronous iterators on every N bytes available in the AUX area.
0
means never wake up.
Since linux-4.1
: https://github.com/torvalds/linux/commit/1a5941312414c71dece6717da9a0fa1303127afa
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WakeUp
impl RefUnwindSafe for WakeUp
impl Send for WakeUp
impl Sync for WakeUp
impl Unpin for WakeUp
impl UnwindSafe for WakeUp
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