[][src]Struct juggle::LockedWheel

pub struct LockedWheel<'futures> { /* fields omitted */ }

Same as Wheel except that it has fixed content and there is no way to control state of tasks within it. Implements Future.

Implementations

impl<'futures> LockedWheel<'futures>[src]

pub fn unlock(self) -> Wheel<'futures>

Notable traits for Wheel<'futures>

impl<'futures> Future for Wheel<'futures> type Output = Result<(), SuspendError>;
[src]

Unlock this wheel so that a handle can be obtained and used to spawn or control tasks.

Transforms this instance back to Wheel Note that handles which were invalidated after this wheel was locked won't be valid again after calling this method, new handle should be obtained.

Trait Implementations

impl<'futures> Debug for LockedWheel<'futures>[src]

impl<'futures> Future for LockedWheel<'futures>[src]

type Output = Result<(), SuspendError>

The type of value produced on completion.

Auto Trait Implementations

impl<'futures> !RefUnwindSafe for LockedWheel<'futures>

impl<'futures> !Send for LockedWheel<'futures>

impl<'futures> !Sync for LockedWheel<'futures>

impl<'futures> Unpin for LockedWheel<'futures>

impl<'futures> !UnwindSafe for LockedWheel<'futures>

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<F> IntoFuture for F where
    F: Future
[src]

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

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.