pub struct AsyncEventGroup { /* private fields */ }Expand description
Async wrapper around an ove::EventGroup.
Implementations§
Source§impl AsyncEventGroup
impl AsyncEventGroup
pub const fn new(inner: EventGroup) -> Self
pub fn arm(&'static self) -> Result<()>
Sourcepub async fn wait_bits(
&'static self,
mask: u32,
flags: WaitFlags,
) -> Result<u32>
pub async fn wait_bits( &'static self, mask: u32, flags: WaitFlags, ) -> Result<u32>
Await one or more of the bits in mask. Returns the bit pattern
that satisfied the wait.
pub fn inner(&self) -> &EventGroup
Trait Implementations§
impl Send for AsyncEventGroup
impl Sync for AsyncEventGroup
Auto Trait Implementations§
impl !Freeze for AsyncEventGroup
impl !RefUnwindSafe for AsyncEventGroup
impl Unpin for AsyncEventGroup
impl UnsafeUnpin for AsyncEventGroup
impl UnwindSafe for AsyncEventGroup
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