[][src]Struct sunrise_libuser::futures::QueueWaker

pub struct QueueWaker<'a> {
    queue: WorkQueue<'a>,
    id: Index,
}

A waker backed by a WorkQueue and an index in the WaitableManager's registry of tasks. Waking up will add a Poll work item on the WorkQueue, causing the WaitableManager to poll the item selected by the index.

Fields

queue: WorkQueue<'a>

The WorkQueue this waker operates on.

id: Index

An index to the future to poll on wake in the WaitableManager::registry.

Trait Implementations

impl<'a> ArcWake for QueueWaker<'a>[src]

impl<'a> Clone for QueueWaker<'a>[src]

impl<'a> Debug for QueueWaker<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for QueueWaker<'a>

impl<'a> Send for QueueWaker<'a>

impl<'a> Sync for QueueWaker<'a>

impl<'a> Unpin for QueueWaker<'a>

impl<'a> !UnwindSafe for QueueWaker<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SizedIPCBuffer for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.