Struct gain::service::future::Call [−][src]
#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct Call<'a, R, T> where
R: FnOnce(&[u8]) -> T + Unpin, { /* fields omitted */ }
Expand description
Asynchronous call. Must be polled to completion.
Trait Implementations
Auto Trait Implementations
impl<'a, R, T> RefUnwindSafe for CallFuture<'a, R, T> where
R: RefUnwindSafe,
impl<'a, R, T> !Send for CallFuture<'a, R, T>
impl<'a, R, T> !Sync for CallFuture<'a, R, T>
impl<'a, R, T> Unpin for CallFuture<'a, R, T>
impl<'a, R, T> UnwindSafe for CallFuture<'a, R, T> where
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.