Type Alias DecodedQueryResponseFut

Source
pub type DecodedQueryResponseFut<T, D = DefaultFuchsiaResourceDialect> = Map<MessageResponse<D>, fn(Result<<D as ResourceDialect>::MessageBufEtc, Error>) -> Result<T, Error>>;
Expand description

A future representing the decoded and transformed response to a FIDL query.

Aliased Type§

struct DecodedQueryResponseFut<T, D = DefaultFuchsiaResourceDialect> { /* private fields */ }

Trait Implementations

§

impl<Fut, F> Debug for Map<Fut, F>
where Map<Fut, F>: Debug,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<Fut, F> FusedFuture for Map<Fut, F>
where Map<Fut, F>: FusedFuture,

§

fn is_terminated(&self) -> bool

Returns true if the underlying future should no longer be polled.
§

impl<Fut, F> Future for Map<Fut, F>
where Map<Fut, F>: Future,

§

type Output = <Map<Fut, F> as Future>::Output

The type of value produced on completion.
§

fn poll( self: Pin<&mut Map<Fut, F>>, cx: &mut Context<'_>, ) -> Poll<<Map<Fut, F> as Future>::Output>

Attempts to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
§

impl<'__pin, Fut, F> Unpin for Map<Fut, F>
where __Origin<'__pin, Fut, F>: Unpin,