Struct origin_studio::std::sync::Condvar
source · pub struct Condvar(_);
Implementations§
source§impl Condvar
impl Condvar
pub const fn new() -> Condvar
pub fn wait<T, 'a>( &self, guard: MutexGuard<'a, RawMutex, T> ) -> MutexGuard<'a, RawMutex, T>
pub fn wait_timeout<T, 'a>( &self, guard: MutexGuard<'a, RawMutex, T>, dur: Duration ) -> (MutexGuard<'a, RawMutex, T>, bool)
pub fn notify_one(&self)
pub fn notify_all(&self)
Auto Trait Implementations§
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