Enum WaitMode
pub enum WaitMode {
Any(u16),
All(u16),
}Available on crate feature
threading only.Expand description
Possible waiting modes for ThreadFlags.
Variants§
Any(u16)
Wait for any of the specified thread flags.
All(u16)
Wait for all of the specified thread flags.
Trait Implementations§
impl Copy for WaitMode
impl StructuralPartialEq for WaitMode
Auto Trait Implementations§
impl Freeze for WaitMode
impl RefUnwindSafe for WaitMode
impl Send for WaitMode
impl Sync for WaitMode
impl Unpin for WaitMode
impl UnwindSafe for WaitMode
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