Type Alias EnqueueWait

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§

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

Trait Implementations

§

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

§

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

Formats the value using the given formatter. Read more
§

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

§

type Output = Result<(), WaitError>

The type of value produced on completion.
§

fn poll( self: Pin<&mut Subscribe<'_, '_, K, V, Lock>>, cx: &mut Context<'_>, ) -> Poll<<Subscribe<'_, '_, 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