struct ReadinessQueueInner {
    awakener: Awakener,
    head_readiness: AtomicPtr<ReadinessNode>,
    tail_readiness: UnsafeCell<*mut ReadinessNode>,
    end_marker: Box<ReadinessNode>,
    sleep_marker: Box<ReadinessNode>,
    closed_marker: Box<ReadinessNode>,
}

Fields

awakener: Awakenerhead_readiness: AtomicPtr<ReadinessNode>tail_readiness: UnsafeCell<*mut ReadinessNode>end_marker: Box<ReadinessNode>sleep_marker: Box<ReadinessNode>closed_marker: Box<ReadinessNode>

Implementations

Prepend the given node to the head of the readiness queue. This is done with relaxed ordering. Returns true if Poll needs to be woken up.

Push the node into the readiness queue

Must only be called in poll or drop

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.