Type Alias deno_core::AsyncResult

source ·
pub type AsyncResult<T> = Pin<Box<dyn Future<Output = Result<T, Error>>>>;
Expand description

Returned by resource read/write/shutdown methods

Aliased Type§

struct AsyncResult<T> { /* private fields */ }

Trait Implementations§

1.33.0 · source§

impl<P> Deref for Pin<P>where P: Deref,

§

type Target = <P as Deref>::Target

The resulting type after dereferencing.
source§

fn deref(&self) -> &<P as Deref>::Target

Dereferences the value.