pub struct Permit<R, F>{ /* private fields */ }👎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§
Auto Trait Implementations§
impl<R, F> Freeze for Permit<R, F>where
F: Freeze,
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> UnsafeUnpin for Permit<R, F>where
F: UnsafeUnpin,
impl<R, F> UnwindSafe for Permit<R, F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more