Struct condition_variable::ConditionVariable [] [src]

pub struct ConditionVariable<T> { /* fields omitted */ }

Methods

impl<T: PartialEq + Clone> ConditionVariable<T>
[src]

impl<T: PartialEq + Clone + Send> ConditionVariable<T>
[src]

Sends out a value over the channel as soon as the ConditionVariable changes its value

impl ConditionVariable<()>
[src]

waits for a notify (useful if T==())