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, Lock> Debug for Subscribe<'a, 'b, K, V, Lock>
where K: Debug + PartialEq, V: Debug, Lock: Debug + ScopedRawMutex,

source§

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

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 Subscribe<'a, 'b, K, V, Lock>>, cx: &mut Context<'_>, ) -> Poll<<Subscribe<'a, 'b, K, V, Lock> as Future>::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