pub type DepGraphFuture = MaybeAsync<LoadResult<(SerializedDepGraph, WorkProductMap)>>;
Expand description

An asynchronous type for computing the dependency graph.

Aliased Type§

enum DepGraphFuture {
    Sync(LoadResult<(SerializedDepGraph, UnordMap<WorkProductId, WorkProduct>)>),
    Async(JoinHandle<LoadResult<(SerializedDepGraph, UnordMap<WorkProductId, WorkProduct>)>>),
}

Variants§

Implementations§

source§

impl<T> MaybeAsync<LoadResult<T>>

source

pub fn open(self) -> LoadResult<T>

Accesses the data returned in LoadResult::Ok in an asynchronous way if possible.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size:160 bytes

Size for each variant:

  • Sync: 160 bytes
  • Async: 32 bytes