pub struct CondVar { /* private fields */ }Implementations§
Source§impl CondVar
impl CondVar
pub fn new() -> CondVar
pub fn notify_one(&self)
pub fn notify_all(&self)
pub fn wait(&self) -> CondVarResult<MutexGuard<'_, bool>>
pub fn wait_timeout_ms( &self, timeout_ms: i64, ) -> CondVarResult<(MutexGuard<'_, bool>, bool)>
Auto Trait Implementations§
impl !Freeze for CondVar
impl RefUnwindSafe for CondVar
impl Send for CondVar
impl Sync for CondVar
impl Unpin for CondVar
impl UnwindSafe for CondVar
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