#[non_exhaustive]#[repr(C)]pub struct Wait {
pub val: u64,
pub uaddr: WaitPtr,
pub flags: WaitFlags,
/* private fields */
}Expand description
For use with waitv.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.val: u64The expected value.
uaddr: WaitPtrThe address to wait for.
flags: WaitFlagsThe type and size of futex to perform.
Implementations§
Trait Implementations§
impl Copy for Wait
Auto Trait Implementations§
impl Freeze for Wait
impl RefUnwindSafe for Wait
impl !Send for Wait
impl !Sync for Wait
impl Unpin for Wait
impl UnwindSafe for Wait
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