[][src]Struct futures_rate::Permit

pub struct Permit<R, F> where
    R: Send + 'static,
    F: Future<Output = R> + 'static, 
{ /* fields omitted */ }
Deprecated since 0.1.4:

The Permit is going to be deprecated in favor of calling GateKeeper's issue() method to guard the gate. This struct, along with the associated API (i.e. register()), will be removed in the 0.1.5 release.

Trait Implementations

impl<R, F> Future for Permit<R, F> where
    R: Send + 'static,
    F: Future<Output = R> + 'static, 
[src]

type Output = R

The type of value produced on completion.

Auto Trait Implementations

impl<R, F> RefUnwindSafe for Permit<R, F> where
    F: RefUnwindSafe

impl<R, F> Send for Permit<R, F> where
    F: Send

impl<R, F> Sync for Permit<R, F> where
    F: Sync

impl<R, F> Unpin for Permit<R, F> where
    F: Unpin

impl<R, F> UnwindSafe for Permit<R, F> where
    F: UnwindSafe

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, 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.