pub struct TaskSignal { /* private fields */ }Implementations§
Source§impl TaskSignal
impl TaskSignal
pub const fn new() -> Self
pub fn load(&self, ordering: Ordering) -> u64
pub fn is_set(&self, bit_index: u64) -> bool
pub fn set(&self, bit_index: u64) -> (bool, bool)
pub fn clear(&self, bit_index: u64) -> (u64, bool)
pub fn try_acquire(&self, bit_index: u64) -> (u64, bool)
pub fn try_acquire_from(&self, start_bit: u64) -> Option<(u32, u64)>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TaskSignal
impl RefUnwindSafe for TaskSignal
impl Send for TaskSignal
impl Sync for TaskSignal
impl Unpin for TaskSignal
impl UnwindSafe for TaskSignal
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