pub struct WaitItem<'a> { /* private fields */ }Expand description
A “wait item” containing a handle reference and information about what signals
to wait on, and, on return from object_wait_many, which are pending.
Returned from wait_item() methods on handle newtypes.
ABI-compatible with zx_wait_item_t.
Implementations§
Trait Implementations§
Source§impl<'a> AsHandleRef for WaitItem<'a>
impl<'a> AsHandleRef for WaitItem<'a>
Source§fn as_handle_ref(&self) -> HandleRef<'a>
fn as_handle_ref(&self) -> HandleRef<'a>
Get a reference to the handle. One important use of such a reference is
for
object_wait_many.Auto Trait Implementations§
impl<'a> Freeze for WaitItem<'a>
impl<'a> RefUnwindSafe for WaitItem<'a>
impl<'a> Send for WaitItem<'a>
impl<'a> Sync for WaitItem<'a>
impl<'a> Unpin for WaitItem<'a>
impl<'a> UnsafeUnpin for WaitItem<'a>
impl<'a> UnwindSafe for WaitItem<'a>
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