Type Alias maitake_sync::wait_map::EnqueueWait

source ·
pub type EnqueueWait<'a, 'b, K, V, Lock> = Subscribe<'a, 'b, K, V, Lock>;
👎Deprecated since 0.1.3: renamed to Subscribe for consistency, use that instead
Expand description

Deprecated alias for Subscribe. See the Wait::subscribe documentation for more details.

Aliased Type§

struct EnqueueWait<'a, 'b, K, V, Lock> { /* private fields */ }

Trait Implementations

source§

impl<'a, 'b, K, V: Debug, Lock> Debug for Subscribe<'a, 'b, K, V, Lock>
where K: PartialEq + Debug, Lock: ScopedRawMutex + Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b, K, V, Lock> Future for Subscribe<'a, 'b, K, V, Lock>
where K: PartialEq, Lock: ScopedRawMutex,

§

type Output = Result<(), WaitError>

The type of value produced on completion.
source§

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Attempts to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more