Struct antidote::Condvar [−][src]
Like std::sync::Condvar
.
Implementations
impl Condvar
[src]
pub fn new() -> Condvar
[src]
Like std::sync::Condvar::new
.
pub fn wait<'a, T>(&self, guard: MutexGuard<'a, T>) -> MutexGuard<'a, T>
[src]
Like std::sync::Condvar::wait
.
pub fn wait_timeout<'a, T>(
&self,
guard: MutexGuard<'a, T>,
dur: Duration
) -> (MutexGuard<'a, T>, WaitTimeoutResult)
[src]
&self,
guard: MutexGuard<'a, T>,
dur: Duration
) -> (MutexGuard<'a, T>, WaitTimeoutResult)
Like std::sync::Condvar::wait_timeout
.
pub fn notify_one(&self)
[src]
Like std::sync::Condvar::notify_one
.
pub fn notify_all(&self)
[src]
Like std::sync::Condvar::notify_all
.
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,