#[non_exhaustive]pub enum TaskFlag {
Exclusive,
Unchecked,
Restart,
CheckedOnce,
DontInheritCheck,
}Expand description
TSetupTaskOptions flag bits.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl TaskFlag
impl TaskFlag
Sourcepub const NAME_ORDER: &'static [&'static str]
pub const NAME_ORDER: &'static [&'static str]
Canonical stable-name order for this flag enum.
Sourcepub fn set_to_bits(set: &HashSet<Self>) -> u64
pub fn set_to_bits(set: &HashSet<Self>) -> u64
Converts a set of flags into the canonical bitmask.
Trait Implementations§
impl Copy for TaskFlag
impl Eq for TaskFlag
impl StructuralPartialEq for TaskFlag
Auto Trait Implementations§
impl Freeze for TaskFlag
impl RefUnwindSafe for TaskFlag
impl Send for TaskFlag
impl Sync for TaskFlag
impl Unpin for TaskFlag
impl UnsafeUnpin for TaskFlag
impl UnwindSafe for TaskFlag
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