pub struct PinnedCondvar(/* private fields */);Implementations§
Source§impl PinnedCondvar
impl PinnedCondvar
pub fn new() -> PinnedCondvar
pub fn wait<'a, T>( &self, guard: PinnedMutexGuard<'a, T>, ) -> PinnedMutexGuard<'a, T>
pub fn wait_while<'a, T, F>( &self, guard: PinnedMutexGuard<'a, T>, condition: F, ) -> PinnedMutexGuard<'a, T>
pub fn notify_one(&self)
pub fn notify_all(&self)
Trait Implementations§
Source§impl Debug for PinnedCondvar
impl Debug for PinnedCondvar
Source§impl Default for PinnedCondvar
impl Default for PinnedCondvar
Source§fn default() -> PinnedCondvar
fn default() -> PinnedCondvar
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for PinnedCondvar
impl RefUnwindSafe for PinnedCondvar
impl Send for PinnedCondvar
impl Sync for PinnedCondvar
impl Unpin for PinnedCondvar
impl UnwindSafe for PinnedCondvar
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