Struct solana_runtime::waitable_condvar::WaitableCondvar
source · [−]Fields
mutex: Mutex<u8>
event: Condvar
Implementations
sourceimpl WaitableCondvar
impl WaitableCondvar
pub fn notify_all(&self)
pub fn notify_one(&self)
pub fn wait_timeout(&self, timeout: Duration) -> bool
Trait Implementations
sourceimpl Debug for WaitableCondvar
impl Debug for WaitableCondvar
sourceimpl Default for WaitableCondvar
impl Default for WaitableCondvar
sourcefn default() -> WaitableCondvar
fn default() -> WaitableCondvar
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for WaitableCondvar
impl Send for WaitableCondvar
impl Sync for WaitableCondvar
impl Unpin for WaitableCondvar
impl UnwindSafe for WaitableCondvar
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more